apache/thrift — pull request #21 by keynslug (2012-06-08 14:15:11+00:00)
Title: Core C++ - mutex timedlock fix, lesser improvements

Thrift concurrency::Mutex have had its timedlock implemented slightly wrong.
Patched it. Added a pretty simple emulation when a platform does not provide pthread_mutex_timedlock. The solution seems to be close to the one used in Mono for Android. Manually tested under android-8, works fine.

The rest commits are the set of small code improvements. I'm pretty sure the commit descriptions are informative enough.