libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::thread_os_traits< API, Mdl > Struct Template Reference

This class is used to encapsulate the OS-specific threading traits, mutexes, etc for the "thread_pool<...>" and other classes. More...

#include <thread_os_traits.hpp>

Classes

class  thread_exception
 Used to assist passing exceptions between threads. More...
 

Public Types

typedef api_threading_traits< API, Mdl > thread_traits
 
typedef thread_traits::lock_traits lock_traits
 
typedef lock_traits::exception_type exception_type
 A base exception-type for use in classes that use this trait. More...
 

Detailed Description

template<generic_traits::api_type API, typename Mdl>
struct jmmcg::ppd::thread_os_traits< API, Mdl >

This class is used to encapsulate the OS-specific threading traits, mutexes, etc for the "thread_pool<...>" and other classes.

Definition at line 65 of file thread_os_traits.hpp.

Member Typedef Documentation

◆ exception_type

template<generic_traits::api_type API, typename Mdl>
typedef lock_traits::exception_type jmmcg::ppd::thread_os_traits< API, Mdl >::exception_type

A base exception-type for use in classes that use this trait.

Definition at line 85 of file thread_os_traits.hpp.

◆ lock_traits

template<generic_traits::api_type API, typename Mdl>
typedef thread_traits::lock_traits jmmcg::ppd::thread_os_traits< API, Mdl >::lock_traits

Definition at line 84 of file thread_os_traits.hpp.

◆ thread_traits

template<generic_traits::api_type API, typename Mdl>
typedef api_threading_traits<API, Mdl> jmmcg::ppd::thread_os_traits< API, Mdl >::thread_traits

Definition at line 83 of file thread_os_traits.hpp.


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