CSC4700 -Threads & Synchronization

This lecture covers parallel programming models in C++, focusing on threads and synchronization. The numerical approximation of pi is used as a practical example to illustrate concepts, introducing numerical integration techniques (Riemann sums and Simpson's rule) and demonstrating how to parallelize the computation using threads, mutexes, and condition variables in C++. It, also, touches upon thread pools for efficient thread management.