Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1019071 // vm_getLock

JavaX fragment (include)

static Lock vm_getLock(S name) {
  ret vm_generalMap_getOrCreate("Lock: " + name, func -> Lock { lock() });
}

Author comment

Began life as a copy of #1016566

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019071
Snippet name: vm_getLock
Eternal ID of this version: #1019071/2
Text MD5: 3e2a3d32cbe66e373d6cc1db3bfb938d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-22 01:15:22
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 390
Version history: 1 change(s)
Referenced in: [show references]