Require negative capability on a Mutex before locking it and pass it through.

Synopsis

Declared in <sync.h>

Mutex&
MaybeCheckNotHeld(Mutex& cs);

Return Value

The same mutex reference.

Parameters

Name

Description

cs

Mutex about to be locked.

Created with MrDocs