libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
dec_thread< exit_val, Ctr > Struct Template Referencefinal

Inherits ppd::wrapper< ppd::platform_api, heavyweight_threading >, and ppd::wrapper< ppd::platform_api, heavyweight_threading >.

Public Types

typedef ppd::wrapper< ppd::platform_api, heavyweight_threading > base_t
 
typedef ppd::wrapper< ppd::platform_api, heavyweight_threading > base_t
 

Public Member Functions

__stdcall dec_thread (Ctr &c) noexcept(true)
 
__stdcall ~dec_thread () noexcept(true)
 
bool __fastcall worker_fn (typename base_t::thread_context_t &) override
 
__stdcall dec_thread (Ctr &c) noexcept(true)
 
__stdcall ~dec_thread () noexcept(true)
 
bool __fastcall worker_fn (typename base_t::thread_context_t &) override
 

Public Attributes

Ctr & i
 

Detailed Description

template<long exit_val, class Ctr>
struct dec_thread< exit_val, Ctr >

Definition at line 79 of file atomic_counter_parallel.cpp.

Member Typedef Documentation

◆ base_t [1/2]

template<long exit_val, class Ctr >
typedef ppd::wrapper<ppd::platform_api, heavyweight_threading> dec_thread< exit_val, Ctr >::base_t

Definition at line 80 of file atomic_counter_parallel.cpp.

◆ base_t [2/2]

template<long exit_val, class Ctr >
typedef ppd::wrapper<ppd::platform_api, heavyweight_threading> dec_thread< exit_val, Ctr >::base_t

Definition at line 80 of file atomic_counter_parallel.cpp.

Constructor & Destructor Documentation

◆ dec_thread() [1/2]

template<long exit_val, class Ctr >
__stdcall dec_thread< exit_val, Ctr >::dec_thread ( Ctr &  c)
inlinenoexcept

◆ ~dec_thread() [1/2]

template<long exit_val, class Ctr >
__stdcall dec_thread< exit_val, Ctr >::~dec_thread ( )
inlinenoexcept

Definition at line 87 of file atomic_counter_parallel.cpp.

◆ dec_thread() [2/2]

template<long exit_val, class Ctr >
__stdcall dec_thread< exit_val, Ctr >::dec_thread ( Ctr &  c)
inlinenoexcept

Definition at line 84 of file atomic_counter_parallel.cpp.

◆ ~dec_thread() [2/2]

template<long exit_val, class Ctr >
__stdcall dec_thread< exit_val, Ctr >::~dec_thread ( )
inlinenoexcept

Definition at line 87 of file atomic_counter_parallel.cpp.

Member Function Documentation

◆ worker_fn() [1/2]

template<long exit_val, class Ctr >
bool __fastcall dec_thread< exit_val, Ctr >::worker_fn ( typename base_t::thread_context_t &  )
inlineoverride

Definition at line 91 of file atomic_counter_parallel.cpp.

References dec_thread< exit_val, Ctr >::i.

◆ worker_fn() [2/2]

template<long exit_val, class Ctr >
bool __fastcall dec_thread< exit_val, Ctr >::worker_fn ( typename base_t::thread_context_t &  )
inlineoverride

Definition at line 91 of file atomic_counter_parallel.cpp.

Member Data Documentation

◆ i

template<long exit_val, class Ctr >
Ctr & dec_thread< exit_val, Ctr >::i

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