1 | static Q mechAppendQueue_q; |
2 | static Lock mechAppendQueue_lock = lock(); |
3 | |
4 | static Q mechAppendQueue() {
|
5 | lock mechAppendQueue_lock; |
6 | if (mechAppendQueue_q == null) |
7 | mechAppendQueue_q = startQ(); |
8 | ret mechAppendQueue_q; |
9 | } |
10 | |
11 | static void mechAppendQueue(Runnable r) {
|
12 | mechAppendQueue().add(r); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014696 |
| Snippet name: | mechAppendQueue |
| Eternal ID of this version: | #1014696/5 |
| Text MD5: | 4698df776b9fd59104318acc70cb8af2 |
| Author: | stefan |
| Category: | javax / mech lists |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-29 18:39:25 |
| Source code size: | 308 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 610 / 657 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |