Libraryless. Click here for Pure Java version (9110L/50K).
1 | static long collab_computeLong2(ICollab collab, IVF1<LongConsumer> work) { |
2 | new Var<Long> var; |
3 | work.get(result -> { |
4 | var.set(result); |
5 | collab.done(); |
6 | }); |
7 | collab.run(); |
8 | ret var!; |
9 | } |
Began life as a copy of #1035576
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035580 |
Snippet name: | collab_computeLong2 |
Eternal ID of this version: | #1035580/1 |
Text MD5: | b91752e6fc690033e73ee44044a343d6 |
Transpilation MD5: | 2963b971b9cd4d6e3f0c2c0c1098de32 |
Author: | stefan |
Category: | javax / parallelization |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-19 00:28:42 |
Source code size: | 202 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 130 / 157 |
Referenced in: | [show references] |