ref: 0cb5f1d1ba2e5570e22f00039bdc9c7006e7158b
dir: /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(); };