Returns a guard that gives permission for the current thread to annotate, and adjust the annotation bits in, the SharedMutex at ptr.
A lock guarding annotation access to the given mutex.
| Name | Description |
|---|---|
| ptr | Pointer to the SharedMutex whose annotation bits are guarded. |