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

4
LINES

< > BotCompany Repo | #1028119 // waitUntilThreadNewOrTerminated

JavaX fragment (include)

svoid waitUntilThreadNewOrTerminated(Thread t, int interval default 10) {
  if (t == null) ret;
  waitUntil(interval, () -> threadIsNewOrTerminated(t));
}

Author comment

Began life as a copy of #1028116

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028119
Snippet name: waitUntilThreadNewOrTerminated
Eternal ID of this version: #1028119/1
Text MD5: 9009b66e633d98642496e672aedd2883
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-20 13:13:18
Source code size: 157 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 158
Referenced in: [show references]