My take on the Dining Philosopher's problem - using C++14's std::defer_lock to avoid deadlock.
Primary LanguageC++