mxnet
|
thread backed iterator that can be used to implement general thread-based pipeline such as prefetch and pre-computation To use the functions in this header, C++11 is required More...
#include "./base.h"
#include <condition_variable>
#include <functional>
#include <mutex>
#include <queue>
#include <atomic>
#include <thread>
#include <utility>
#include <memory>
#include "./data.h"
#include "./logging.h"
Go to the source code of this file.
Classes | |
class | dmlc::ScopedThread |
Wrapper class to manage std::thread; uses RAII pattern to automatically join std::thread upon destruction. More... | |
class | dmlc::ThreadedIter< DType > |
a iterator that was backed by a thread to pull data eagerly from a single producer into a bounded buffer the consumer can pull the data at its own rate More... | |
class | dmlc::ThreadedIter< DType >::Producer |
producer class interface that threaditer used as source to preduce the content More... | |
Namespaces | |
dmlc | |
namespace for dmlc | |
thread backed iterator that can be used to implement general thread-based pipeline such as prefetch and pre-computation To use the functions in this header, C++11 is required
Copyright (c) 2015 by Contributors