18 #ifndef FOEDUS_THREAD_THREAD_OPTIONS_HPP_
19 #define FOEDUS_THREAD_THREAD_OPTIONS_HPP_
68 #endif // FOEDUS_THREAD_THREAD_OPTIONS_HPP_
Set of options about threads and thread-groups.
uint8_t ThreadLocalOrdinal
Typedef for a local ID of Thread (core), which is NOT unique across NUMA nodes.
ThreadPolicy
Thread policy for worker threads.
ThreadOptions()
Constructs option values with default values.
Represents an object that can be written to and read from files/bytes in XML format.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Typedefs of ID types used in thread package.
ThreadPriority
Thread priority for worker threads.
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
ThreadLocalOrdinal thread_count_per_group_
Number of Thread in each ThreadGroup.
bool overwrite_thread_schedule_
Whether to overwrite policy/priority of worker threads.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
ThreadPriority thread_priority_
Thread priority for worker threads.
uint16_t group_count_
Number of ThreadGroup in the engine.
uint16_t ThreadId
Typedef for a global ID of Thread (core), which is unique across NUMA nodes.
ThreadId get_total_thread_count() const
ThreadPolicy thread_policy_
Thread policy for worker threads.