1 | static ReliableSingleThread dm_rst(Runnable r) { |
2 | ret dm_rst(dm_current_mandatory(), r); |
3 | } |
4 | |
5 | static ReliableSingleThread dm_rst(DynModule mod, Runnable r) { |
6 | ret dm_rst(mod, new ReliableSingleThread(r)); |
7 | } |
8 | |
9 | static ReliableSingleThread dm_rst(DynModule mod, ReliableSingleThread rst) { |
10 | rst.enter = dm_rEnter(mod); |
11 | ret rst; |
12 | } |
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: | 543 / 554 |
Version history: | 7 change(s) |
Referenced in: | [show references] |