XDispatch 0.6.1
Public Member Functions | Friends
xdispatch::synclock Class Reference

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

#include <xdispatch/synchronized.h>

List of all members.

Public Member Functions

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

Friends

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

Definition at line 53 of file synchronized.h.


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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.