THRIFT ReadWriteMutex
authorboz <dev-null@apache.org>
Fri, 6 Jul 2007 22:27:52 +0000 (22:27 +0000)
committerboz <dev-null@apache.org>
Fri, 6 Jul 2007 22:27:52 +0000 (22:27 +0000)
commitcce8184d997b37a2da1b885125b43bcda103fa76
tree556497122de3691d3446023a7960a4df4d7104bc
parent22974602532c9d1e1dacb5d0f873667a237b0981
THRIFT ReadWriteMutex

Summary: Implemented a read/write lock class in thrift::concurrency

Reviewed By: marc

Test Plan: I compiled this, then compiled a version of fb303 that uses this
(future checkin pending further tests), then ran a binary using the new fb303
and it didn't crash as things were added to the map using the ReadWriteMutex

Revert Plan: yup

Notes: this should replace rw_lock.h for most clients

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