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


< > BotCompany Repo | #1004558 // startThread

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4308L/25K).

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

static Thread startThread(S name, Runnable runnable) {
  runnable = wrapAsActivity(runnable);
  ret startThread(newThread(runnable, name));

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

static Thread startThread(Thread t) {
  ifndef LeanMode
  ret t;

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004558
Snippet name: startThread
Eternal ID of this version: #1004558/12
Text MD5: e8835bcc27967a7ea2f2fd096b4fcadf
Transpilation MD5: 69c52d585b97036457897a8977bd9057
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-07 03:53:24
Source code size: 517 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 702 / 818
Version history: 11 change(s)
Referenced in: [show references]