about
12/06/2022
CppThreads Repo
CppThreads Repository
Code illustrates a lot of the C++ thread library capabilities
Quick Status
1.0 Contents
-
Cpp11-Concurrency
A set of about a dozen projects that illustrate basic thread operations. -
Cpp11-ThreadTechniques
Techniques for interoperating with threads, including passing and returning values. -
Cpp11-ThreadWithCallback
Example of triggering a callback when a thread completes. -
Cpp11-Tasks
Tasks use a static threadpool for executing callable objects concurrently, e.g., pieces of work needed for some analysis. -
Cpp11-BlockingQueue
A thread-safe queue that blocks deQuer when empty. It's implemented with a mutex and condition variable. -
LockPerformance
Compares performance of several locking constructs provided by Win32 and by C++ thread library.