chickadee » synch » record-synch/lock

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

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.