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

5
LINES

< > BotCompany Repo | #1001477 // runInNewThread

JavaX fragment (include)

static Thread runInNewThread(final S progID) {
  ret startThread(progID, r {
    callMainAsChild(hotwire(progID));
  });
}

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: #1001477
Snippet name: runInNewThread
Eternal ID of this version: #1001477/3
Text MD5: b5186ae64d95d233d84aa18371d2411f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-06 16:01:45
Source code size: 126 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 726 / 923
Version history: 2 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006301 - runInNewThreadWithNotify - calls notification when main was run (or when process is aborted)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1010934 - runInNewThread_awt - with pcall-messagebox
#1014009 - backtickInNewThread
#1018563 - runDependentInNewThread
#3000382 - Answer for ferdie (>> t = 1, f = 0)