GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SC_THREADLOCKHOLDER (3)

NAME

sc::ThreadLockHolder - Acquire a lock on creation and release it on destruction.

CONTENTS

Synopsis

SYNOPSIS

#include <thread.h>

    Public Member Functions

    ThreadLockHolder (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 Description

Acquire a lock on creation and release it on destruction.

This should be used to lock and unlock ThreadLock objects to provide exception safety.

Author

Generated automatically by Doxygen for MPQC from the source code.

Search for    or go to Top of page |  Section 3 |  Main Index


Version 2.3.1 SC::THREADLOCKHOLDER (3) Sun Apr 3 2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.