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

11
LINES

< > BotCompany Repo | #1006301 // runInNewThreadWithNotify - calls notification when main was run (or when process is aborted)

JavaX fragment (include)

static void runInNewThreadWithNotify(final S progID, final O notification) {
  thread {
    try {
      pcall {
        callMain(hotwire(progID));
      }
    } finally {
      pcallF(notification);
    }
  }
}

Author comment

Began life as a copy of #1001477

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006301
Snippet name: runInNewThreadWithNotify - calls notification when main was run (or when process is aborted)
Eternal ID of this version: #1006301/1
Text MD5: cfb6cb2d5714d65abef257b0e607d54e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-26 21:43:57
Source code size: 220 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 478 / 524
Referenced in: [show references]