|
NAMEsc::ThreadLockHolder - Acquire a lock on creation and release it on destruction.SYNOPSIS#include <thread.h> Public Member FunctionsThreadLockHolder (const Ref< ThreadLock > &l) Acquires the lock. void unlock () Release the lock before the DTOR is called, if it is still held. void lock () Acquire the lock once more. ~ThreadLockHolder () Releases the lock if it is still held. Detailed DescriptionAcquire a lock on creation and release it on destruction.This should be used to lock and unlock ThreadLock objects to provide exception safety. AuthorGenerated automatically by Doxygen for MPQC from the source code.
Visit the GSP FreeBSD Man Page Interface. |