libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
Enumerations | |
enum | creation_cost { creation_cost::sequential_creation, creation_cost::expensive_to_create, creation_cost::cheap_to_create } |
enum | destruction_cost { destruction_cost::sequential_destruction, destruction_cost::expensive_to_destroy, destruction_cost::cheap_to_destroy } |
enum | synchronisation_cost { synchronisation_cost::sequential_sync, synchronisation_cost::expensive_to_synchronise, synchronisation_cost::cheap_to_synchronise } |
enum | return_data { return_data::joinable, return_data::nonjoinable } |
enum | api_type { api_type::no_api, api_type::MS_Win32, api_type::posix_pthreads, api_type::IBM_cyclops } |
enum | memory_access_modes { memory_access_modes::erew_memory_access, memory_access_modes::crew_memory_access } |
The various memory access modes that the assorted locks may support. More... | |
Functions | |
tostream &__fastcall FORCE_INLINE | operator<< (tostream &os, api_type const &api) |
These parameters allow the users to choose a thread pool that has the properties they would like. Note that not all combinations make sense, so will give compilation errors, as they are not implemented, and of the rest, some of those may not be implemented. Contact the author if you need a specific specialisation!
|
strong |
Definition at line 115 of file thread_params_traits.hpp.
|
strong |
Enumerator | |
---|---|
sequential_creation | |
expensive_to_create | E.g. x86 ISA & Win32. |
cheap_to_create | E.g. IBM BlueGene/[C|P] (or Cyclops) |
Definition at line 96 of file thread_params_traits.hpp.
|
strong |
Enumerator | |
---|---|
sequential_destruction | |
expensive_to_destroy | E.g. x86 ISA & Win32. |
cheap_to_destroy | E.g. IBM BlueGene/[C|P] (or Cyclops) |
Definition at line 101 of file thread_params_traits.hpp.
|
strong |
The various memory access modes that the assorted locks may support.
To assist in allowing compile-time computation of the algorithmic order of the threading model.
Enumerator | |
---|---|
erew_memory_access | Exclusive-Read, Exclusive-Write memory access. |
crew_memory_access | Concurrent-Read, Exclusive-Write memory access. |
Definition at line 144 of file thread_params_traits.hpp.
|
strong |
Enumerator | |
---|---|
joinable | The work has a return value. |
nonjoinable | The work does not have a return value. |
Definition at line 111 of file thread_params_traits.hpp.
|
strong |
Definition at line 106 of file thread_params_traits.hpp.
|
inline |
Definition at line 123 of file thread_params_traits.hpp.