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

10
LINES

< > TinyBrain | #1007381 - unlock - release Lock with optional message

JavaX fragment (include)

static void unlock(Lock lock, S msg) {
  if (lock == null) ret;
  print("Unlocking: " + msg);
  lock.unlock();
}

static void unlock(Lock lock) {
  if (lock == null) ret;
  lock.unlock();
}

Author comment

Began life as a copy of #1007380

download  show line numbers  debug dex   

Travelled to 4 computer(s): cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1007381
Snippet name: unlock - release Lock with optional message
Eternal ID of this version: #1007381/5
Text MD5: 6b4713c3f7c80516d0472ae693957ec0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 23:14:41
Source code size: 198 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 95 / 103
Version history: 4 change(s)
Referenced in: [show]