DOKK / manpages / debian 12 / libsc-doc / sc_ThreadLock.3.en
sc::ThreadLock(3) MPQC sc::ThreadLock(3)

sc::ThreadLock - The ThreadLock abstract class provides mutex locks to be used in conjunction with ThreadGrp's.

#include <thread.h>

Inherits sc::RefCount.


virtual void lock ()=0
Obtain the lock. virtual void unlock ()=0
Release the lock.

The ThreadLock abstract class provides mutex locks to be used in conjunction with ThreadGrp's.

ThreadLock objects should be locked and unlocked with ThreadLockHolder objects to provide exception safety.

Generated automatically by Doxygen for MPQC from the source code.

Fri Dec 2 2022 Version 2.3.1