GNE::LockEx< T > Class Template Reference
[Threading API]

Works exactly like Lock but allows early release. More...

#include <Lock.h>

List of all members.

Public Member Functions

 LockEx (T &objToLock)
void release ()

Detailed Description

template<class T>
class GNE::LockEx< T >

Works exactly like Lock but allows early release.

Two separate classes were provided because on many compilers Lock has absolutely 0 overhead while when trying to provide early release, there may be some overhead.

Since those cases are rare, the Ex version can be used when early release is needed.

See also:
Lock
LockMutexEx
LockObjectEx
LockCVEx

The documentation for this class was generated from the following file:

Generated on Thu Dec 24 18:38:21 2009 for GNE by  doxygen 1.6.1