chickadee » synch » call-with/synch

(call-with/synch MUTEXFORM PROCEDURE [ARGUMENTS ...]) => OBJECTsyntax

Invoke PROCEDURE on the mutex-specific of MUTEX and the ARGUMENTS ... while MUTEX locked.

Returns the result of the PROCEDURE invocation.