Some examples by using different features:
- main_packaged_task.cpp - by using std::packaged_task/std::future, with manual management of async executing
- main_atomic.cpp - by using std::atomic, with waiting changes in spin-loop
- main_cond_var.cpp - by using std::condition_variable, with waiting for notification(notify()) from another thread
- main_boost_asio.cpp - by using boost::asio::io_service and thread pool with single created thread
- main_winapi_cond_var.cpp - by using CRITICAL_SECTION & CONDITION_VARIABLE