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

16
LINES

< > BotCompany Repo | #1004558 - startThread

JavaX fragment (include)

static Thread startThread(O runnable) {
  ret startThread(defaultThreadName(), runnable);
}

static Thread startThread(S name, O runnable) {
  runnable = wrapAsActivity(runnable);
  ret startThread(newThread(toRunnable(runnable), name));
}

static Thread startThread(Thread t) {
  ifndef LeanMode
  _registerThread(t);
  endifndef
  t.start();
  ret t;
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1004558
Snippet name: startThread
Eternal ID of this version: #1004558/10
Text MD5: 34ca9376c11dcdfdf3fdd7a987f23629
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-02 12:39:33
Source code size: 369 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 444 / 501
Version history: 9 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1004558 & http://1004558.tinybrain.de