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

12
LINES

< > BotCompany Repo | #1018862 // dm_rst - make ReliableSingleThread for DynModule. automatically enters() before calling the runnable

JavaX fragment (include)

static ReliableSingleThread dm_rst(Runnable r) {
  ret dm_rst(dm_current_mandatory(), r);
}

static ReliableSingleThread dm_rst(DynModule mod, Runnable r) {
  ret dm_rst(mod, new ReliableSingleThread(r));
}

static ReliableSingleThread dm_rst(DynModule mod, ReliableSingleThread rst) {
  rst.enter = dm_rEnter(mod);
  ret rst;
}

Author comment

Began life as a copy of #1018671

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018862
Snippet name: dm_rst - make ReliableSingleThread for DynModule. automatically enters() before calling the runnable
Eternal ID of this version: #1018862/8
Text MD5: 4359026d667aa20bcd965eb475f2de19
Author: stefan
Category: javax / threading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-15 15:42:16
Source code size: 339 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 538 / 548
Version history: 7 change(s)
Referenced in: [show references]