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

17
LINES

< > BotCompany Repo | #1019890 // Running Threads

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (3616L/18K).

!7

cmodule RunningThreads > DynObjectTable {
  double interval = 1.0;
  
  start {
    dontPersist();
    doEvery(0.0, interval, r updateMe);
  }
  
  void update {
    setData(map(runnableThreadsWithRenderedStackTraces_withoutSystemThreads(), func(Thread t, S stackTrace) {
      litorderedmap("Thread" := t.getName(), "Stack Trace" := stackTrace)
    }));
    setModuleName(n2(data, "Running Thread"));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1019890
Snippet name: Running Threads
Eternal ID of this version: #1019890/11
Text MD5: 5bfa52b5112a284c99b0a52d80ae1a65
Transpilation MD5: a2d395cff809409b1edc44183f327b77
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-10 00:10:44
Source code size: 427 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 837
Version history: 10 change(s)
Referenced in: