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

Definition at line 58 of file atomic_counter_parallel.cpp.

Member Typedef Documentation

◆ base_t [1/2]

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

Definition at line 59 of file atomic_counter_parallel.cpp.

◆ base_t [2/2]

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

Definition at line 59 of file atomic_counter_parallel.cpp.

Constructor & Destructor Documentation

◆ inc_by_val_thread() [1/2]

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

◆ ~inc_by_val_thread() [1/2]

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

Definition at line 66 of file atomic_counter_parallel.cpp.

◆ inc_by_val_thread() [2/2]

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

Definition at line 63 of file atomic_counter_parallel.cpp.

◆ ~inc_by_val_thread() [2/2]

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

Definition at line 66 of file atomic_counter_parallel.cpp.

Member Function Documentation

◆ worker_fn() [1/2]

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

◆ worker_fn() [2/2]

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

Definition at line 70 of file atomic_counter_parallel.cpp.

Member Data Documentation

◆ i

template<long exit_val, long Inc, class Ctr >
Ctr & inc_by_val_thread< exit_val, Inc, Ctr >::i

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