11 #ifndef ASIO_THREAD_HPP 12 #define ASIO_THREAD_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 #include "asio/detail/config.hpp" 19 #include "asio/detail/noncopyable.hpp" 20 #include "asio/detail/thread.hpp" 22 #include "asio/detail/push_options.hpp" 60 template <
typename Function>
90 #include "asio/detail/pop_options.hpp" 92 #endif // ASIO_THREAD_HPP thread(Function f)
Start a new thread that executes the supplied function.
Definition: thread.hpp:61
void join()
Wait for the thread to exit.
Definition: thread.hpp:79
~thread()
Destructor.
Definition: thread.hpp:67
Definition: noncopyable.hpp:25
A simple abstraction for starting threads.
Definition: thread.hpp:48
Definition: null_thread.hpp:31
Definition: any_io_executor.hpp:28