1 | static L beforeDelegatingToThread_operations = synchroList(); |
2 | |
3 | static void beforeDelegatingToThread(Thread t) { |
4 | for (O op : cloneList(beforeDelegatingToThread_operations)) |
5 | pcallF(op, t); |
6 | } |
7 | |
8 | static void beforeDelegatingToThread_do(O f) { |
9 | setAdd(beforeDelegatingToThread_operations, f); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012795 |
Snippet name: | beforeDelegatingToThread - hand over locks or thread local-information to new thread |
Eternal ID of this version: | #1012795/7 |
Text MD5: | e8bd7a53bd8af4eb5498c4c8708854f4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-13 16:40:10 |
Source code size: | 303 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 362 / 401 |
Version history: | 6 change(s) |
Referenced in: | [show references] |