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

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

Public Types

typedef wrapper< platform_api, heavyweight_threading > base_t
 
typedef Cont container_type
 
typedef wrapper< platform_api, heavyweight_threading > base_t
 
typedef Cont container_type
 

Public Member Functions

 pop_thread (const typename container_type::size_type n, container_type &c) noexcept(true)
 
 ~pop_thread () noexcept(true)
 
bool worker_fn (typename base_t::thread_context_t &) override
 
 pop_thread (const typename container_type::size_type n, container_type &c) noexcept(true)
 
 ~pop_thread () noexcept(true)
 
bool worker_fn (typename base_t::thread_context_t &) override
 

Public Attributes

const container_type::size_type num_elems
 
container_typecont
 

Detailed Description

template<class Cont>
struct pop_thread< Cont >

Definition at line 93 of file intrusive_parallel.cpp.

Member Typedef Documentation

◆ base_t [1/2]

template<class Cont >
typedef wrapper<platform_api, heavyweight_threading> pop_thread< Cont >::base_t

Definition at line 94 of file intrusive_parallel.cpp.

◆ base_t [2/2]

template<class Cont >
typedef wrapper<platform_api, heavyweight_threading> pop_thread< Cont >::base_t

Definition at line 94 of file intrusive_parallel.cpp.

◆ container_type [1/2]

template<class Cont >
typedef Cont pop_thread< Cont >::container_type

Definition at line 95 of file intrusive_parallel.cpp.

◆ container_type [2/2]

template<class Cont >
typedef Cont pop_thread< Cont >::container_type

Definition at line 95 of file intrusive_parallel.cpp.

Constructor & Destructor Documentation

◆ pop_thread() [1/2]

template<class Cont >
pop_thread< Cont >::pop_thread ( const typename container_type::size_type  n,
container_type c 
)
inlinenoexcept

◆ ~pop_thread() [1/2]

template<class Cont >
pop_thread< Cont >::~pop_thread ( )
inlinenoexcept

Definition at line 104 of file intrusive_parallel.cpp.

◆ pop_thread() [2/2]

template<class Cont >
pop_thread< Cont >::pop_thread ( const typename container_type::size_type  n,
container_type c 
)
inlinenoexcept

Definition at line 101 of file intrusive_parallel.cpp.

◆ ~pop_thread() [2/2]

template<class Cont >
pop_thread< Cont >::~pop_thread ( )
inlinenoexcept

Definition at line 104 of file intrusive_parallel.cpp.

Member Function Documentation

◆ worker_fn() [1/2]

template<class Cont >
bool pop_thread< Cont >::worker_fn ( typename base_t::thread_context_t &  )
inlineoverride

◆ worker_fn() [2/2]

template<class Cont >
bool pop_thread< Cont >::worker_fn ( typename base_t::thread_context_t &  )
inlineoverride

Definition at line 108 of file intrusive_parallel.cpp.

Member Data Documentation

◆ cont

template<class Cont >
container_type & pop_thread< Cont >::cont

◆ num_elems

template<class Cont >
const container_type::size_type pop_thread< Cont >::num_elems

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