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)

static Thread newDaemonThread(O r) {
  Thread t = newThread(r);
  t.setDaemon(true);
  ret t;
}

static Thread newDaemonThread(O r, S name) {
  Thread t = newThread(r, name);
  t.setDaemon(true);
  ret t;
}

static Thread newDaemonThread(S name, O r) {
  ret newDaemonThread(r, name);
}

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: 303 / 344
Referenced in: [show references]