XDispatch 0.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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 ()
 XDISPATCH_DEPRECATED (synclock(const std::string &, const bool auto_lock=false))
 This function will be removed in future versions.
 synclock (const synclock &, const bool auto_lock=false)
 synclock (const semaphore &, const bool auto_lock=false)
 ~synclock ()
 operator bool () const
synclockoperator= (const synclock &)
synclockunlock ()
synclocklock ()

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 ( const synclock ,
const bool  auto_lock = false 
)
xdispatch::synclock::synclock ( const semaphore ,
const bool  auto_lock = false 
)

Member Function Documentation

xdispatch::synclock::operator bool ( ) const
synclock& xdispatch::synclock::operator= ( const synclock )
xdispatch::synclock::XDISPATCH_DEPRECATED ( synclock(const std::string &, const bool auto_lock=false)  )

This function will be removed in future versions.

Deprecated:
Please manage your synclock manually instead or use synchronized
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 Sun Oct 28 2012 22:12:47 for XDispatch by Doxygen 1.7.6.1
© 2010-2012 MLBA (about | privacy) All Rights reserved.