.TH "sc::ThreadLock" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::ThreadLock \- The \fBThreadLock\fP abstract class provides mutex locks to be used in conjunction with \fBThreadGrp\fP's\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::RefCount\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual void \fBlock\fP ()=0" .br .RI "Obtain the lock\&. " .ti -1c .RI "virtual void \fBunlock\fP ()=0" .br .RI "Release the lock\&. " .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP The \fBThreadLock\fP abstract class provides mutex locks to be used in conjunction with \fBThreadGrp\fP's\&. \fBThreadLock\fP objects should be locked and unlocked with \fBThreadLockHolder\fP objects to provide exception safety\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.