This post ends the mini-series about the dining philosophers problem by Andre Adrian. Today, he applies powerful locks and semaphores.
Semaphores are a synchronization mechanism used to control concurrent access to a shared resource. They also allow it to play ping-pong.
This post concludes my overview of C++20. Today's post is about the concurrency features in the next C++ standard.
Currently are 227 guests and no members online
Kubik-Rubik Joomla! Extensions