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

3
LINES

< > BotCompany Repo | #1011425 // hasLock - is lock held by current thread?

JavaX fragment (include)

static bool hasLock(Lock lock) {
  ret ((ReentrantLock) lock).isHeldByCurrentThread();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 21 computer(s): aoiabmzegqzx, ayivmpnvhhik, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1011425
Snippet name: hasLock - is lock held by current thread?
Eternal ID of this version: #1011425/1
Text MD5: 5a88bdb2ccfafb4781b67dfb96b787c0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-29 01:38:30
Source code size: 90 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 439 / 2431
Referenced in: [show references]