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

5
LINES

< > BotCompany Repo | #1009506 // downloadLock - get a suitable ReentrantLock for downloading stuff

JavaX fragment (include)

static Lock downloadLock_lock = fairLock();

static Lock downloadLock() {
  ret downloadLock_lock;
}

Author comment

Began life as a copy of #1009318

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: #1009506
Snippet name: downloadLock - get a suitable ReentrantLock for downloading stuff
Eternal ID of this version: #1009506/1
Text MD5: 9540abb8fa206eaca8527a5de1d4c59b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-04 18:55:21
Source code size: 104 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 537
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009642 - mainLock - get main class's "main lock"
#1016788 - voiceOutputLock - lock for voice output