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/test/TimerManagerTests.cc b/lib/cpp/src/concurrency/test/TimerManagerTests.cc
new file mode 100644
index 0000000..abd0e95
--- /dev/null
+++ b/lib/cpp/src/concurrency/test/TimerManagerTests.cc
@@ -0,0 +1,33 @@
+#include <ThreadManager.h>
+#include <PosixThreadFactory.h>
+
+#include <assert.h>
+
+namespace facebook { namespace thrift { namespace concurrency { namespace test {
+
+/** ThreadManagerTests class */
+
+
+class ThreadManagerTests {
+
+  void init() {
+
+    ThreadManager* threadManager =  ThreadManager::newThreadManager();
+
+    threadManager->poolPolicy(new BasicPoolPolicy());
+
+    threadManager->threadFactory(new PosixThreadFactory());
+
+    threadManager->poolPolicy(new BasicPoolPolicy());
+  }
+};
+  
+
+}}}} // facebook::thrift::concurrency
+
+int main(int argc, char** argv) {
+
+  return 0;
+
+}
+