xbmc
Public Member Functions | List of all members
XbmcThreads::ConditionVariable Class Reference

This is a thin wrapper around std::condition_variable_any. More...

#include <Condition.h>

Public Member Functions

void wait (CCriticalSection &lock, std::function< bool()> predicate)
 
void wait (CCriticalSection &lock)
 
template<typename Rep , typename Period >
bool wait (CCriticalSection &lock, std::chrono::duration< Rep, Period > duration, std::function< bool()> predicate)
 
template<typename Rep , typename Period >
bool wait (CCriticalSection &lock, std::chrono::duration< Rep, Period > duration)
 
void wait (std::unique_lock< CCriticalSection > &lock, std::function< bool()> predicate)
 
void wait (std::unique_lock< CCriticalSection > &lock)
 
template<typename Rep , typename Period >
bool wait (std::unique_lock< CCriticalSection > &lock, std::chrono::duration< Rep, Period > duration, std::function< bool()> predicate)
 
template<typename Rep , typename Period >
bool wait (std::unique_lock< CCriticalSection > &lock, std::chrono::duration< Rep, Period > duration)
 
void notifyAll ()
 
void notify ()
 

Detailed Description

This is a thin wrapper around std::condition_variable_any.

It is subject to "spurious returns"


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