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

Member Function Documentation

synclock& xdispatch::synclock::lock ( )
xdispatch::synclock::operator bool ( ) const
synclock& xdispatch::synclock::operator= ( const synclock )
synclock& xdispatch::synclock::unlock ( )
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 Mon Aug 6 2012 09:03:21 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.