Libraryless. Click here for Pure Java version (5049L/30K).
static ReliableSingleThread rstWithEnter(IF0<AutoCloseable> enter, Runnable r) { ReliableSingleThread rst = new(r); rst.enter = if0ToF0(enter); ret rst; }
Began life as a copy of #1018671
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032615 |
| Snippet name: | rstWithEnter - make ReliableSingleThread |
| Eternal ID of this version: | #1032615/4 |
| Text MD5: | 3fc97e8a265557d7b23cee65a290a842 |
| Transpilation MD5: | 342b3130a36953374e2fc7391e2d2b98 |
| Author: | stefan |
| Category: | javax / threading |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-25 00:38:33 |
| Source code size: | 164 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 349 / 437 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |