libXDispatch 0.4
Public Member Functions | Friends
xdispatch::synclock Class Reference

Provides an easy locking mechanism used to ensure the threadsafety of a code area. More...

List of all members.

Public Member Functions

 synclock ()
 synclock (const synclock &)
 ~synclock ()
 operator bool () const
void unlock ()

Friends

XDISPATCH_EXPORT synclock get_lock_for_key (unsigned int)
 Returns the synclock used to protect the area identified by the given key.

Detailed Description

Provides an easy locking mechanism used to ensure the threadsafety of a code area.

See also:
synchronized
synchronize

Constructor & Destructor Documentation

xdispatch::synclock::synclock ( )
xdispatch::synclock::synclock ( const synclock )
xdispatch::synclock::~synclock ( )

Member Function Documentation

xdispatch::synclock::operator bool ( ) const
void xdispatch::synclock::unlock ( )

Friends And Related Function Documentation

XDISPATCH_EXPORT synclock get_lock_for_key ( unsigned  int) [friend]

Returns the synclock used to protect the area identified by the given key.

See also:
synchronized

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

Generated on Wed Feb 22 2012 19:51:17 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.