Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1034512 // printRunningThreads

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5605L/31K).

1  
svoid printRunningThreads() {
2  
  LS threads = valuesList(runnableThreadsWithRenderedStackTraces_withoutSystemThreads());
3  
  for i over threads:
4  
    print("\n[Thread " + (i+1) + "/" + l(threads) + "] " + threads.get(i));
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034512
Snippet name: printRunningThreads
Eternal ID of this version: #1034512/1
Text MD5: ada8bc1e4388e141ac22c6a84d7202d9
Transpilation MD5: bd791f7a41a667de3dce4f38d48164cd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-10 04:48:30
Source code size: 223 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 174
Referenced in: [show references]