STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Enumerations | Functions
condition_variable File Reference
#include <thr/xthread>
#include <mutex>
#include <chrono>

Classes

class  condition_variable
 
class  condition_variable_any
 

Macros

#define _CONDITION_VARIABLE_
 

Typedefs

typedef cv_status _Cv_status
 

Enumerations

enum  cv_status { cv_status::no_timeout, cv_status::timeout }
 

Functions

void notify_all_at_thread_exit (condition_variable &_Cnd, unique_lock< mutex > _Lck)
 

Macro Definition Documentation

#define _CONDITION_VARIABLE_

Typedef Documentation

Enumeration Type Documentation

enum cv_status
strong
Enumerator
no_timeout 
timeout 
20  { // names for wait returns
21  no_timeout,
22  timeout
23  };

Function Documentation

void notify_all_at_thread_exit ( condition_variable _Cnd,
unique_lock< mutex _Lck 
)
inline
297  { // register _Cnd for release at thread exit
298  _Cnd._Register(_Lck, 0);
299  }
void _Register(unique_lock< mutex > &_Lck, int *_Ready)
Definition: condition_variable:142