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