|
Bytemaster's Boost Libraries
|
#include <vector>#include <boost/cmt/task.hpp>#include <boost/cmt/retainable.hpp>#include <boost/chrono.hpp>Go to the source code of this file.
Classes | |
| class | boost::cmt::thread |
| manages cooperative scheduling of tasks within a single operating system thread. More... | |
Namespaces | |
| namespace | boost |
Functions | |
| priority | boost::cmt::current_priority () |
| template<typename T > | |
| future< T > | boost::cmt::async (const boost::function< T()> &t, const char *n, priority prio=priority()) |
| template<typename T > | |
| future< T > | boost::cmt::async (const boost::function< T()> &t, priority prio=priority(), const char *n="") |
| template<typename T > | |
| T | boost::cmt::sync (const boost::function< T()> &t, const char *n, priority prio=current_priority(), const microseconds &timeout_us=microseconds::max()) |
| template<typename T > | |
| T | boost::cmt::sync (const boost::function< T()> &t, priority prio, const microseconds &timeout_us=microseconds::max(), const char *n="") |
| template<typename T > | |
| T | boost::cmt::sync (const boost::function< T()> &t, const microseconds &timeout_us=microseconds::max(), const char *n="") |
| void | boost::cmt::async (const boost::function< void()> &t, priority prio=priority()) |
| int | boost::cmt::exec () |
| void | boost::cmt::usleep (uint64_t us) |
| void | boost::cmt::yield () |
| cmt::thread::current().yield() | |