Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lock.h File Reference
#include <mitsuba/mitsuba.h>
#include <boost/scoped_ptr.hpp>

Go to the source code of this file.

Classes

class  mitsuba::Mutex
 Thin wrapper around the recursive boost thread lock. More...
 
class  mitsuba::WaitFlag
 Wait flag synchronization primitive. Can be used to wait for a certain event to occur. More...
 
class  mitsuba::ConditionVariable
 Condition variable synchronization primitive. Can be used to wait for a condition to become true in a safe way. More...
 
class  mitsuba::LockGuard
 Simple RAII-style locking of a Mutex. On construction it locks the mutex and unlocks it on destruction. Based on boost::lock_guard, assumes the Mutex will outlive the lock. More...
 
class  mitsuba::UniqueLock
 In addition to providing RAII-style locking, UniqueLock also allows for deferred locking until lock() is called explicitly. unlock() is only called by the destructor if the object has locked the mutex. Based on boost::unique_lock, assumes the Mutex will outlive the lock. More...
 

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_CORE_LOCK_H_
 

Macro Definition Documentation

#define __MITSUBA_CORE_LOCK_H_