[top] [prev] [next]
A LOCK statement has the form:
LOCK mu DO S END
WITH m = mu DO Thread.Acquire(m); TRY S FINALLY Thread.Release(m) END END