Peeps
My take on the Dining Philosopher's problem - using C++14's std::defer_lock to avoid deadlock.
If you need a refresher on the problem: https://en.wikipedia.org/wiki/Dining_philosophers_problem
My take on the Dining Philosopher's problem - using C++14's std::defer_lock to avoid deadlock.
C++
My take on the Dining Philosopher's problem - using C++14's std::defer_lock to avoid deadlock.
If you need a refresher on the problem: https://en.wikipedia.org/wiki/Dining_philosophers_problem