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

3
LINES

< > BotCompany Repo | #1008227 // waitForThreads - wait until all threads in a list are done

JavaX fragment (include)

1  
static void waitForThreads(Collection<Thread> threads) ctex {
2  
  for (Thread t : threads) t.join();
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008227
Snippet name: waitForThreads - wait until all threads in a list are done
Eternal ID of this version: #1008227/3
Text MD5: 113fd49e0ef88b5c1006f5cbab2bbc79
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-01 16:05:04
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 472
Version history: 2 change(s)
Referenced in: [show references]