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

15
LINES

< > BotCompany Repo | #1015705 // newDaemonThread - make daemon Thread

JavaX fragment (include)

1  
static Thread newDaemonThread(O r) {
2  
  Thread t = newThread(r);
3  
  t.setDaemon(true);
4  
  ret t;
5  
}
6  
7  
static Thread newDaemonThread(O r, S name) {
8  
  Thread t = newThread(r, name);
9  
  t.setDaemon(true);
10  
  ret t;
11  
}
12  
13  
static Thread newDaemonThread(S name, O r) {
14  
  ret newDaemonThread(r, name);
15  
}

Author comment

Began life as a copy of #1005527

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: #1015705
Snippet name: newDaemonThread - make daemon Thread
Eternal ID of this version: #1015705/1
Text MD5: e6ad90cdba922c4ca7e7588dec62ec80
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-23 14:36:02
Source code size: 300 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 369 / 415
Referenced in: [show references]