[scope lock wrapped for ReadWriteMutex]
authoryunfang <dev-null@apache.org>
Sat, 14 Jul 2007 01:23:05 +0000 (01:23 +0000)
committeryunfang <dev-null@apache.org>
Sat, 14 Jul 2007 01:23:05 +0000 (01:23 +0000)
commita36f5db4b323adbcd13cd298ab73eee2be6200f2
tree64cf754afe6c383e34e08570887c8f62e64269e4
parentb1ad0141d4df4b4488882880a6d9d4aa84f3b178
[scope lock wrapped for ReadWriteMutex]
Summary:
  scope lock wrapped around ReadWriteMutex. It's like Guard but you can specify to use it as a read or write lock.

Reviewed by: boz

Test Plan: used it in AdFinder

Revertible: yes

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665162 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/concurrency/Mutex.h