chickadee » synch » record-synch/unlock

(record-synch/unlock RECORD-SYMBOL RECORD-OBJECT [BODY ...]) => OBJECTsyntax

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

Returns the result of BODY ....

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

Should the mutex be unlocked a warning is issued and the mutex is locked before executing the BODY.