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

8
LINES

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

JavaX fragment (include)

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

static void unlock(Lock lock) {
  lock.unlock();
}

Author comment

Began life as a copy of #1007380

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1007381
Snippet name: unlock - release Lock with optional message
Eternal ID of this version: #1007381/4
Text MD5: 836ce543505c3de9f086d78abbbedea1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 03:42:43
Source code size: 146 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 46 / 53
Version history: 3 change(s)
Referenced in: [show]