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).

static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod default dm_current_mandatory(), IVF1<A> processObject) {
  ret dm_rstMulti(mod, new ReliableSingleThread_Multi<>(processObject));
}

static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod default dm_current_mandatory(), int delay, IVF1<A> processObject) {
  ret dm_rstMulti(mod, new ReliableSingleThread_Multi<>(delay, processObject));
}

static <A> ReliableSingleThread_Multi<A> dm_rstMulti(DynModule mod, ReliableSingleThread_Multi<A> rst) {
  rst.setEnter(dm_rEnter(mod));
  ret rst;
}

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: 169 / 249
Version history: 8 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)