1 | static void listThreads() { |
2 | print(); |
3 | Map<Thread, StackTraceElement[]> threadMap = Thread.getAllStackTraces(); |
4 | for (Thread t : threadMap.keySet()) { |
5 | //print(structure(threadMap)); |
6 | print(t); |
7 | } |
8 | print(threadMap.size() + " threads."); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000959 |
Snippet name: | listThreads |
Eternal ID of this version: | #1000959/1 |
Text MD5: | 3300e224c7f21a458081b527caf31158 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-12 16:18:55 |
Source code size: | 257 bytes / 9 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 651 / 901 |
Referenced in: | [show references] |