libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading > Struct Template Reference

#include <thread_api_traits.hpp>

Classes

struct  atomic_counter_type
 

Public Types

enum  atomic_state_type {
  atom_set =WAIT_OBJECT_0, atom_abandoned =WAIT_ABANDONED, atom_already_set, atom_max_recurse,
  atom_deadlocked, atom_perm_error, atom_failed =WAIT_FAILED, atom_interrupted,
  atom_unset =WAIT_TIMEOUT, atom_errno
}
 
typedef heavyweight_threading model_type
 
typedef jmmcg::ppd::NTUtils::recursive_anon_mutex anon_mutex_type
 
typedef jmmcg::ppd::NTUtils::recursive_anon_mutex nonrecursive_anon_mutex_type
 
typedef jmmcg::ppd::NTUtils::recursive_anon_mutex recursive_anon_mutex_type
 
typedef jmmcg::ppd::NTUtils::anon_event anon_event_type
 
typedef jmmcg::ppd::NTUtils::recursive_critical_section critical_section_type
 
typedef jmmcg::ppd::NTUtils::recursive_critical_section recursive_critical_section_type
 
typedef jmmcg::ppd::NTUtils::recursive_mutex mutex_type
 
typedef jmmcg::ppd::NTUtils::recursive_mutex recursive_mutex_type
 
typedef jmmcg::ppd::NTUtils::event event_type
 
typedef jmmcg::ppd::NTUtils::anon_semaphore anon_semaphore_type
 
typedef jmmcg::ppd::NTUtils::semaphore semaphore_type
 
typedef HANDLE handle_type
 
typedef DWORD timeout_type
 
typedef jmmcg::NTUtils::win_exception exception_type
 

Static Public Member Functions

static const timeout_type __fastcall infinite_timeout () noexcept(true)
 

Static Public Attributes

static constexpr generic_traits::api_type api_type =generic_traits::MS_Win32
 

Detailed Description

template<>
struct jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading >

Definition at line 55 of file thread_api_traits.hpp.

Member Typedef Documentation

◆ anon_event_type

◆ anon_mutex_type

◆ anon_semaphore_type

◆ critical_section_type

◆ event_type

Definition at line 80 of file thread_api_traits.hpp.

◆ exception_type

◆ handle_type

typedef HANDLE jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading >::handle_type

Definition at line 95 of file thread_api_traits.hpp.

◆ model_type

Definition at line 57 of file thread_api_traits.hpp.

◆ mutex_type

◆ nonrecursive_anon_mutex_type

◆ recursive_anon_mutex_type

◆ recursive_critical_section_type

◆ recursive_mutex_type

◆ semaphore_type

◆ timeout_type

typedef DWORD jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading >::timeout_type

Definition at line 96 of file thread_api_traits.hpp.

Member Enumeration Documentation

◆ atomic_state_type

Enumerator
atom_set 
atom_abandoned 
atom_already_set 
atom_max_recurse 
atom_deadlocked 
atom_perm_error 
atom_failed 
atom_interrupted 
atom_unset 
atom_errno 

Definition at line 58 of file thread_api_traits.hpp.

Member Function Documentation

◆ infinite_timeout()

static const timeout_type __fastcall jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading >::infinite_timeout ( )
inlinestaticnoexcept

Definition at line 100 of file thread_api_traits.hpp.

Member Data Documentation

◆ api_type

constexpr generic_traits::api_type jmmcg::ppd::api_lock_traits< generic_traits::MS_Win32, heavyweight_threading >::api_type =generic_traits::MS_Win32
staticconstexpr

Definition at line 56 of file thread_api_traits.hpp.


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