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

8
LINES

< > BotCompany Repo | #1008281 // interruptThreads

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

Libraryless. Click here for Pure Java version (2566L/16K).

svoid interruptThreads(Collection<Thread> threads) {
  for (Thread t : unnull(threads))
    interruptThread(t);
}

static void interruptThreads(Class mainClass) {
  interruptThreads(registeredThreads(mainClass));
}

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: 506 / 598
Version history: 3 change(s)
Referenced in: [show references]