libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
inc_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 inc_thread (Ctr &c) noexcept(true)
 
__stdcall ~inc_thread () noexcept(true)
 
bool __fastcall worker_fn (typename base_t::thread_context_t &) override
 
__stdcall inc_thread (Ctr &c) noexcept(true)
 
__stdcall ~inc_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 inc_thread< exit_val, Ctr >

Definition at line 37 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> inc_thread< exit_val, Ctr >::base_t

Definition at line 38 of file atomic_counter_parallel.cpp.

◆ base_t [2/2]

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

Definition at line 38 of file atomic_counter_parallel.cpp.

Constructor & Destructor Documentation

◆ inc_thread() [1/2]

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

◆ ~inc_thread() [1/2]

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

Definition at line 45 of file atomic_counter_parallel.cpp.

◆ inc_thread() [2/2]

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

Definition at line 42 of file atomic_counter_parallel.cpp.

◆ ~inc_thread() [2/2]

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

Definition at line 45 of file atomic_counter_parallel.cpp.

Member Function Documentation

◆ worker_fn() [1/2]

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

Definition at line 49 of file atomic_counter_parallel.cpp.

References inc_thread< exit_val, Ctr >::i.

◆ worker_fn() [2/2]

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

Definition at line 49 of file atomic_counter_parallel.cpp.

Member Data Documentation

◆ i

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

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