cpp-pthread  (v1.7.3)
Simple C++ wrapper to pthread functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
pthread Namespace Reference

Namespaces

 this_thread
 
 util
 

Classes

class  abstract_thread
 
class  condition_variable
 
class  condition_variable_exception
 
class  lock_guard
 
class  mutex
 
class  mutex_exception
 
class  pthread_exception
 
class  read_lock
 
class  read_write_lock_exception
 
class  runnable
 
class  thread
 
class  thread_exception
 
class  thread_group
 
class  timeout_exception
 
class  write_lock
 

Typedefs

typedef write_lock read_write_lock
 

Enumerations

enum  cv_status { no_timeout, timedout }
 
enum  thread_status { thread_status::not_a_thread, thread_status::a_thread }
 

Functions

const char * cpp_pthread_version ()
 
void * thread_startup_runnable (void *)
 

Detailed Description

Author
herbert koelman
Date
18/03/2016

C++11 pthread mock implementations

Function Documentation

const char * pthread::cpp_pthread_version ( )
Returns
library version
Examples:
exceptions-tests.cpp, and synchronized_queue_tests.cpp.

Definition at line 17 of file pthread.cpp.