30#ifndef __igtlConditionVariable_h
31#define __igtlConditionVariable_h
33#include "igtlConfigure.h"
39#ifdef OpenIGTLink_USE_WIN32_THREADS
41#define _WIN32_WINNT 0x0400
114 const Self & operator=(
const Self & );
115#ifdef OpenIGTLink_USE_PTHREADS
116 pthread_cond_t m_ConditionVariable;
119 int m_NumberOfWaiters;
121 CRITICAL_SECTION m_NumberOfWaitersLock;
125 HANDLE m_WaitersAreDone;
131 size_t m_WasBroadcast;
A thread synchronization object used to suspend execution until some condition on shared data is met.
igtlTypeMacro(ConditionVariable, LightObject)
SmartPointer< const Self > ConstPointer
void Wait(SimpleMutexLock *mutex)
SmartPointer< Self > Pointer
Light weight base class for most igtl classes.
Simple mutual exclusion locking class.
Implements transparent reference counting.
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...