Warning: session_start(): open(/var/lib/php/sessions/sess_r0dooil7v6hno0hb5jobcdp051, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
runInNewThreadWithNotify - calls notification when main was run (or when process is aborted) [1006301]

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: 847 / 891
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)