fix8  version 1.4.0
Open Source C++ FIX Framework
thread.hpp File Reference
#include <atomic>
#include <memory>
#include <pthread.h>
#include <signal.h>

Go to the source code of this file.

Classes

class  FIX8::_f8_threadcore
 pthread wrapper abstract base More...
 
class  FIX8::f8_thread_cancellation_token
 Thread cancellation token. More...
 
class  FIX8::f8_thread< T >
 Thread wrapper. Ctor provides T instance and specifies ptr to member to call or defaults to operator() More...
 
class  FIX8::f8_thread< T >::_helper
 
class  FIX8::f8_mutex
 generic pthread_mutex wrapper More...
 
class  FIX8::f8_spin_lock
 generic spin_lock wrapper More...
 
class  FIX8::f8_scoped_lock_impl< T >
 

Namespaces

 FIX8
 

Typedefs

template<typename T >
using FIX8::f8_atomic = std::atomic< T >
 
using FIX8::thread_id_t = std::thread::id
 
using FIX8::f8_scoped_lock = f8_scoped_lock_impl< f8_mutex >
 
using FIX8::f8_scoped_spin_lock = f8_scoped_lock_impl< f8_spin_lock >
 
template<typename T >
using FIX8::dthread = f8_thread< T >
 
using FIX8::_dthreadcore = _f8_threadcore
 
using FIX8::dthread_cancellation_token = f8_thread_cancellation_token