Libraryless. Click here for Pure Java version (2566L/16K).
1 | svoid interruptThreads(Collection<Thread> threads) {
|
2 | for (Thread t : unnull(threads)) |
3 | interruptThread(t); |
4 | } |
5 | |
6 | static void interruptThreads(Class mainClass) {
|
7 | interruptThreads(registeredThreads(mainClass)); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1008281 |
| Snippet name: | interruptThreads |
| Eternal ID of this version: | #1008281/4 |
| Text MD5: | 97cbdac52af27ddbb276e16e923d2c35 |
| Transpilation MD5: | 1e771c851bec9739bef4861198a4c106 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-27 17:57:46 |
| Source code size: | 221 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 837 / 1006 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |