commit | c6dab613003c704f072542f39214f7af64fc0412 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:13 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Jun 10 22:55:13 2008 +0000 |
tree | 6cf0c32408e229af01a44f79023d29747ba6fde7 | |
parent | e3a64923e9620ebf99ff51ed5bfcb366e503c79e [diff] |
Thrift: Allow for alternative Mutex initializers. Summary: Add an argument to the Mutex constructor. It takes a pointer to a function that initializes the internal pthread_mutex_t. We provide initializers for default pthread_mutex_t (which is our default), adaptive mutexes, and recursive mutexes. Reviewed By: hzhao, psaab, mcslee Test Plan: Built libthrift. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666362 13f79535-47bb-0310-9956-ffa450edef68