libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
Enumerations | |
enum class | creation_cost { sequential_creation , expensive_to_create , cheap_to_create } |
enum class | destruction_cost { sequential_destruction , expensive_to_destroy , cheap_to_destroy } |
enum class | synchronisation_cost { sequential_sync , expensive_to_synchronise , cheap_to_synchronise } |
enum class | return_data { joinable , nonjoinable } |
enum class | api_type { no_api , MS_Win32 , posix_pthreads , IBM_cyclops } |
enum class | memory_access_modes { erew_memory_access , 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 63 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 44 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 49 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 92 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 59 of file thread_params_traits.hpp.
|
strong |
Definition at line 54 of file thread_params_traits.hpp.
|
inline |
Definition at line 70 of file thread_params_traits.hpp.
References IBM_cyclops, MS_Win32, no_api, and posix_pthreads.