Bring up of thread manager
facebook::thrift::concurrency::test.ThreadManagerTest::test00
Launch N tasks that block for time T, verify they all complete and that the thread manager cleans up properly
when it goes out of scope
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664725 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/Thread.h b/lib/cpp/src/concurrency/Thread.h
index 3fc094d..8237091 100644
--- a/lib/cpp/src/concurrency/Thread.h
+++ b/lib/cpp/src/concurrency/Thread.h
@@ -43,7 +43,7 @@
/** Gets the runnable object this thread is hosting */
- virtual const Runnable* runnable() const = 0;
+ virtual Runnable* runnable() const = 0;
};
/** Factory to create platform-specific thread object and bind them to Runnable object for execution */