Classes | |
struct | EventPoolEntry |
Public Member Functions | |
void | Notify () |
void | Notify () |
void | NotifyAll () |
void | NotifyAll () |
bool | Wait (Mutex *pmutex, unsigned delay=OVR_WAIT_INFINITE) |
bool | Wait (Mutex *pmutex, unsigned delay=OVR_WAIT_INFINITE) |
WaitConditionImpl () | |
WaitConditionImpl () | |
~WaitConditionImpl () | |
~WaitConditionImpl () | |
Private Member Functions | |
EventPoolEntry * | GetNewEvent () |
void | QueueFindAndRemove (EventPoolEntry *pentry) |
EventPoolEntry * | QueuePop () |
void | QueuePush (EventPoolEntry *pentry) |
void | ReleaseEvent (EventPoolEntry *pevent) |
Private Attributes | |
pthread_cond_t | Condv |
EventPoolEntry * | pFreeEventList |
EventPoolEntry * | pQueueHead |
EventPoolEntry * | pQueueTail |
pthread_mutex_t | SMutex |
Lock | WaitQueueLoc |
Definition at line 213 of file OVR_ThreadsPthread.cpp.
Definition at line 234 of file OVR_ThreadsPthread.cpp.
Definition at line 240 of file OVR_ThreadsPthread.cpp.
WaitConditionImpl::EventPoolEntry * OVR::WaitConditionImpl::GetNewEvent | ( | ) | [private] |
Definition at line 270 of file OVR_ThreadsWinAPI.cpp.
void OVR::WaitConditionImpl::Notify | ( | ) |
Definition at line 316 of file OVR_ThreadsPthread.cpp.
void OVR::WaitConditionImpl::Notify | ( | ) |
void OVR::WaitConditionImpl::NotifyAll | ( | ) |
Definition at line 324 of file OVR_ThreadsPthread.cpp.
void OVR::WaitConditionImpl::NotifyAll | ( | ) |
void OVR::WaitConditionImpl::QueueFindAndRemove | ( | EventPoolEntry * | pentry | ) | [private] |
Definition at line 347 of file OVR_ThreadsWinAPI.cpp.
WaitConditionImpl::EventPoolEntry * OVR::WaitConditionImpl::QueuePop | ( | ) | [private] |
Definition at line 324 of file OVR_ThreadsWinAPI.cpp.
void OVR::WaitConditionImpl::QueuePush | ( | EventPoolEntry * | pentry | ) | [private] |
Definition at line 304 of file OVR_ThreadsWinAPI.cpp.
void OVR::WaitConditionImpl::ReleaseEvent | ( | EventPoolEntry * | pevent | ) | [private] |
Definition at line 293 of file OVR_ThreadsWinAPI.cpp.
bool OVR::WaitConditionImpl::Wait | ( | Mutex * | pmutex, |
unsigned | delay = OVR_WAIT_INFINITE |
||
) |
Definition at line 246 of file OVR_ThreadsPthread.cpp.
bool OVR::WaitConditionImpl::Wait | ( | Mutex * | pmutex, |
unsigned | delay = OVR_WAIT_INFINITE |
||
) |
pthread_cond_t OVR::WaitConditionImpl::Condv [private] |
Definition at line 216 of file OVR_ThreadsPthread.cpp.
Definition at line 206 of file OVR_ThreadsWinAPI.cpp.
EventPoolEntry* OVR::WaitConditionImpl::pQueueHead [private] |
Definition at line 209 of file OVR_ThreadsWinAPI.cpp.
EventPoolEntry* OVR::WaitConditionImpl::pQueueTail [private] |
Definition at line 210 of file OVR_ThreadsWinAPI.cpp.
pthread_mutex_t OVR::WaitConditionImpl::SMutex [private] |
Definition at line 215 of file OVR_ThreadsPthread.cpp.
Lock OVR::WaitConditionImpl::WaitQueueLoc [private] |
Definition at line 204 of file OVR_ThreadsWinAPI.cpp.