This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Based on Herb Sutter's monitor implementation presented on | |
https://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Herb-Sutter-Concurrency-and-Parallelism at 40:30, | |
which is, I hope, public domain. | |
*/ | |
#include <utility> | |
#include <shared_mutex> | |
NewerOlder