1 | static L<Thread> registeredThreads(O o) { |
2 | Map<Thread, Bool> map = cast getOpt(o, "_registerThread_threads"); |
3 | if (map == null) ret ll(); |
4 | map.size(); // force clean-up |
5 | synchronized(map) { ret asList(keys(map)); } |
6 | } |
7 | |
8 | please include function _registerThread. |
9 | |
10 | static L<Thread> registeredThreads() { |
11 | _registerThread_threads.size(); // force clean-up |
12 | ret asList(keys(_registerThread_threads)); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008279 |
Snippet name: | registeredThreads - list threads registered for module |
Eternal ID of this version: | #1008279/7 |
Text MD5: | d752e0433724aefa1042974f1ee68ffa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-08 14:24:42 |
Source code size: | 413 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 636 / 717 |
Version history: | 6 change(s) |
Referenced in: | [show references] |