libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
dec_by_val_thread< exit_val, Dec, 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_by_val_thread (Ctr &c) noexcept(true)
 
__stdcall ~dec_by_val_thread () noexcept(true)
 
bool __fastcall worker_fn (typename base_t::thread_context_t &) override
 
__stdcall dec_by_val_thread (Ctr &c) noexcept(true)
 
__stdcall ~dec_by_val_thread () noexcept(true)
 
bool __fastcall worker_fn (typename base_t::thread_context_t &) override
 

Public Attributes

Ctr & i
 

Detailed Description

template<long exit_val, long Dec, class Ctr>
struct dec_by_val_thread< exit_val, Dec, Ctr >

Definition at line 100 of file atomic_counter_parallel.cpp.

Member Typedef Documentation

◆ base_t [1/2]

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

Definition at line 101 of file atomic_counter_parallel.cpp.

◆ base_t [2/2]

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

Definition at line 101 of file atomic_counter_parallel.cpp.

Constructor & Destructor Documentation

◆ dec_by_val_thread() [1/2]

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

◆ ~dec_by_val_thread() [1/2]

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

Definition at line 108 of file atomic_counter_parallel.cpp.

◆ dec_by_val_thread() [2/2]

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

Definition at line 105 of file atomic_counter_parallel.cpp.

◆ ~dec_by_val_thread() [2/2]

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

Definition at line 108 of file atomic_counter_parallel.cpp.

Member Function Documentation

◆ worker_fn() [1/2]

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

◆ worker_fn() [2/2]

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

Definition at line 112 of file atomic_counter_parallel.cpp.

Member Data Documentation

◆ i

template<long exit_val, long Dec, class Ctr >
Ctr & dec_by_val_thread< exit_val, Dec, Ctr >::i

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