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

12
LINES

< > BotCompany Repo | #1031605 // dm_rstMulti - make ReliableSingleThread_Multi for DynModule. automatically enters() before calling the runnable

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (11902L/78K).

1  
static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod default dm_current_mandatory(), IVF1<A> processObject) {
2  
  ret dm_rstMulti(mod, new ReliableSingleThread_Multi<>(processObject));
3  
}
4  
5  
static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod default dm_current_mandatory(), int delay, IVF1<A> processObject) {
6  
  ret dm_rstMulti(mod, new ReliableSingleThread_Multi<>(delay, processObject));
7  
}
8  
9  
static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod, ReliableSingleThread_Multi<A> rst) {
10  
  rst.setEnter(dm_rEnter(mod));
11  
  ret rst;
12  
}

Author comment

Began life as a copy of #1018862

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031605
Snippet name: dm_rstMulti - make ReliableSingleThread_Multi for DynModule. automatically enters() before calling the runnable
Eternal ID of this version: #1031605/9
Text MD5: 2fc8b645843ec43e686f753fb305987e
Transpilation MD5: 82f4c163583a2595d58af546f29966a8
Author: stefan
Category: javax / threading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-22 09:43:00
Source code size: 578 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 251
Version history: 8 change(s)
Referenced in: [show references]