A personal C++ program practice, nothing more or less, just for a reminder.
Catalog:
-
C++ Basic
-
C++11 Multi-thread (including "thread" "mutex" "condition variable" "future" "promise" "atomic")
-
C++11 Parallel and Concurrent Programing Recap:
a. thread: std::thread; std::lock; std::unlock; std::move() b. mutex: std::mutex; std::lock_guard; std::unique_lock; std::ref; std::shared_ptr c. condition_variable d. future: std::async; std::future<int>; .get(); std::packaged_task<> e. promises: std::promise<T> f. atomic: std::atomic<bool>; std::atomic<void*>; std::atomic_flag; memory_order_acq_rel; compare_exchange_strong/weak()