blob: abd0e95f40451b5727d00d07094f72a4e2354797 [file] [log] [blame]
Marc Slemko0e53ccd2006-07-17 23:51:05 +00001#include <ThreadManager.h>
2#include <PosixThreadFactory.h>
3
4#include <assert.h>
5
6namespace facebook { namespace thrift { namespace concurrency { namespace test {
7
8/** ThreadManagerTests class */
9
10
11class ThreadManagerTests {
12
13 void init() {
14
15 ThreadManager* threadManager = ThreadManager::newThreadManager();
16
17 threadManager->poolPolicy(new BasicPoolPolicy());
18
19 threadManager->threadFactory(new PosixThreadFactory());
20
21 threadManager->poolPolicy(new BasicPoolPolicy());
22 }
23};
24
25
26}}}} // facebook::thrift::concurrency
27
28int main(int argc, char** argv) {
29
30 return 0;
31
32}
33