chickadee » synch » record-synch-lock

(record-synch-lock RECORD-OBJECT RECORD-SYMBOL [BODY ...]) -> *syntax

Execute BODY ... while the RECORD-OBJECT mutex is locked, and leave the mutex locked.

Returns the result of BODY ....

RECORD-SYMBOL and RECORD-OBJECT are per record-synch.