Another checkpoint of initial cut at thread pool manager for thrift and related concurrency classes.
Added TimerManager - I can't live without one after all.
Added Util - handy place for common time operations et al.
Initial test code
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664722 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/PosixThreadFactory.cc b/lib/cpp/src/concurrency/PosixThreadFactory.cc
index e9d52f0..e7f84cd 100644
--- a/lib/cpp/src/concurrency/PosixThreadFactory.cc
+++ b/lib/cpp/src/concurrency/PosixThreadFactory.cc
@@ -5,7 +5,10 @@
namespace facebook { namespace thrift { namespace concurrency {
-/** The POSIX thread class. */
+/** The POSIX thread class.
+
+ @author marc
+ @version $Id:$ */
class PthreadThread: public Thread {
@@ -139,7 +142,7 @@
/** Converts relative thread priorities to absolute value based on posix thread scheduler policy
The idea is simply to divide up the priority range for the given policy into the correpsonding relative
- priority level (lowest..highest) and then prorate accordingly. */
+ priority level (lowest..highest) and then pro-rate accordingly. */
static int toPthreadPriority(POLICY policy, PRIORITY priority) {