18 #ifndef FOEDUS_THREAD_THREAD_GROUP_HPP_
19 #define FOEDUS_THREAD_THREAD_GROUP_HPP_
70 std::vector<Thread*> threads_;
75 #endif // FOEDUS_THREAD_THREAD_GROUP_HPP_
ErrorStack initialize_once() override
friend std::ostream & operator<<(std::ostream &o, const ThreadGroup &v)
uint8_t ThreadLocalOrdinal
Typedef for a local ID of Thread (core), which is NOT unique across NUMA nodes.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Represents one thread running on one NUMA core.
ThreadGroupId get_group_id() const
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
Typical implementation of Initializable as a skeleton base class.
ErrorStack uninitialize_once() override
Represents a group of pre-allocated threads running in one NUMA node.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
Database engine object that holds all resources and provides APIs.
memory::NumaNodeMemory * get_node_memory() const
Repository of memories dynamically acquired and shared within one NUMA node (socket).
Thread * get_thread(ThreadLocalOrdinal ordinal) const
Returns Thread object for the given ordinal in this group.
Forward declarations of classes in memory package.
#define CXX11_OVERRIDE
Used in public headers in place of "override" of C++11.
#define CXX11_FUNC_DELETE
Used in public headers in place of " = delete" of C++11.
Forward declarations of classes in thread package.
uint8_t ThreadGroupId
Typedef for an ID of ThreadGroup (NUMA node).