##- # Author: Brian Tiffin # Dedicated to the public domain # # Date: October 2016 # Modified: 2016-10-14/14:12-0400 ##+ # # unlock.icn, unlock a mutex # procedure main() x := 1 mtx := mutex() if trylock(mtx) then { write("locked mtx") x := x + 1 unlock(mtx) } end