ref: e11c7aa718df592bd69de53ce1d6498cc870f256
dir: purgatorio/module/lock.m
Lock: module { PATH: con "/dis/lib/lock.dis"; Semaphore: adt { c: chan of int; obtain: fn(nil: self ref Semaphore); release: fn(nil: self ref Semaphore); new: fn(): ref Semaphore; }; init: fn(); };