Libraryless. Click here for Pure Java version (398L/3K/11K).
1 | !759 |
2 | |
3 | static Lock lock = fairLock(); |
4 | |
5 | p { |
6 | doIt(); |
7 | doIt(); |
8 | print("OK"); |
9 | } |
10 | |
11 | svoid doIt { |
12 | lock lock; |
13 | print("Have lock!"); |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009320 |
Snippet name: | Test "lock x;" construct [OK] |
Eternal ID of this version: | #1009320/3 |
Text MD5: | 1ee7160fd1b0a64ba89d3887b1a1a08c |
Transpilation MD5: | c9b06f052bb375a52cb73400479a5b27 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-23 19:13:42 |
Source code size: | 143 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 488 / 598 |
Version history: | 2 change(s) |
Referenced in: | [show references] |