|
Medial Code Documentation
|
Thread and synchronization primitives and lifecycle management. More...
#include <dmlc/concurrentqueue.h>#include <dmlc/blockingconcurrentqueue.h>#include <dmlc/logging.h>#include <string>#include <mutex>#include <utility>#include <memory>#include <set>#include <thread>#include <unordered_set>#include <unordered_map>#include <condition_variable>Go to the source code of this file.
Data Structures | |
| class | dmlc::ManualEvent |
| Simple manual-reset event gate which remains open after signalled. More... | |
| class | dmlc::ThreadGroup |
| Thread lifecycle management group. More... | |
| class | dmlc::ThreadGroup::Thread |
| Lifecycle-managed thread (used by ThreadGroup) More... | |
| class | dmlc::BlockingQueueThread< ObjectType, quit_item > |
| Blocking queue thread class. More... | |
| class | dmlc::TimerThread< Duration > |
| Managed timer thread. More... | |
Namespaces | |
| namespace | dmlc |
| namespace for dmlc | |
Typedefs | |
| using | dmlc::SharedMutex = std::recursive_mutex |
| Standard mutex for C++ < 14. | |
| using | dmlc::WriteLock = std::unique_lock< SharedMutex > |
| Standard unique lock for C++ < 14. | |
| using | dmlc::ReadLock = std::unique_lock< SharedMutex > |
| Standard unique lock for C++ < 14. | |
Functions | |
| template<typename Duration , typename TimerFunction > | |
| bool | dmlc::CreateTimer (const std::string &timer_name, const Duration &duration, ThreadGroup *owner, TimerFunction timer_function) |
| Utility function to easily create a timer. | |
Thread and synchronization primitives and lifecycle management.
Copyright (c) 2017 by Contributors