yohhoyの日記

技術的メモをしていきたい日記

Reader-Writerロックの実装

C++11標準ライブラリのスレッドサポートを利用して実装されたReader-Writerロック(Shared/Upgradeロック)。Boost Software License。

Howard Hinnant氏の記事Handling mutexes in C++に詳しい解説あり。

2013-05-07追記:N3659 Shared locking in C++ Rev.2C++14に採択された。(ただしshared_mutexのみで、upgrade_mutexは除外されている。)via ACCU 2013 and the C++ Standards Meeting, The View form the C++ Standard meeting April 2013 Part 3

関連URL