class StaticMutex

Defined at line 642 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h

A Mutex is a read/write lock. It can be constant-initialized, but has a

destructor. To allocate a global one, use StaticMutex, which skips the

destructor.

Public Methods

void LockRead ()

LockRead locks the mutex such that other threads may also have a read lock,

but none may have a write lock.

void StaticMutex ()

Defined at line 644 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h

void StaticMutex (const StaticMutex & )

Defined at line 645 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h

void UnlockRead ()

UnlockRead releases a read lock.

void LockWrite ()

LockWrite locks the mutex such that no other thread has any type of lock on

it.

void UnlockWrite ()

UnlockWrite releases a write lock.

StaticMutex & operator= (const StaticMutex & )

Defined at line 646 of file ../../third_party/boringssl/src/crypto/fipsmodule/sha/../../internal.h