Home Libraries Author Links

stm::system_scoped_lock Class Reference
[DivAids: Diverse Aids]

List of all members.


Detailed Description

System scoped lock class.

Locks across all processes running on the system.

Definition at line 1135 of file divaids.hpp.


Public Member Functions

 system_scoped_lock (StmNamedMutex mutex)
 
Throws:
std::logic_error, if mutex is invalid.

 system_scoped_lock (StmNamedMutex mutex, int64 absTimeMs)
 
Throws:
std::range_error on timeout.


Constructor & Destructor Documentation

stm::system_scoped_lock::system_scoped_lock ( StmNamedMutex  mutex  )  [explicit]

Throws:
std::logic_error, if mutex is invalid.

stm::system_scoped_lock::system_scoped_lock ( StmNamedMutex  mutex,
int64  absTimeMs 
)

Throws:
std::range_error on timeout.

Throws:
std::logic_error, if mutex is invalid.


© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).