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).

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

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: 126 / 171
Referenced in: [show references]