Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
XbmcThreads::ConditionVariable Class Reference

#include <Condition.h>

Public Member Functions

 ConditionVariable ()=default
 
void wait (CCriticalSection &lock)
 
bool wait (CCriticalSection &lock, unsigned long milliseconds)
 
void wait (CSingleLock &lock)
 
bool wait (CSingleLock &lock, unsigned long milliseconds)
 
void notifyAll ()
 
void notify ()
 

Detailed Description

This is a thin wrapper around std::condition_variable_any. It is subject to "spurious returns" as it is built on boost which is built on posix on many of our platforms.

Constructor & Destructor Documentation

◆ ConditionVariable()

XbmcThreads::ConditionVariable::ConditionVariable ( )
default

Member Function Documentation

◆ notify()

void XbmcThreads::ConditionVariable::notify ( )
inline

◆ notifyAll()

void XbmcThreads::ConditionVariable::notifyAll ( )
inline

◆ wait() [1/4]

void XbmcThreads::ConditionVariable::wait ( CCriticalSection lock)
inline

◆ wait() [2/4]

bool XbmcThreads::ConditionVariable::wait ( CCriticalSection lock,
unsigned long  milliseconds 
)
inline

◆ wait() [3/4]

void XbmcThreads::ConditionVariable::wait ( CSingleLock lock)
inline

◆ wait() [4/4]

bool XbmcThreads::ConditionVariable::wait ( CSingleLock lock,
unsigned long  milliseconds 
)
inline

The documentation for this class was generated from the following file: