From 3faaedf46b0c99096f0a18820782362886530e8e Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Sun, 2 Oct 2011 10:51:45 +0000 Subject: THRIFT-1361 Optional replacement of pthread by boost::thread Patch: alexandre parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68 --- test/threads/ThreadsClient.cpp | 6 +++--- test/threads/ThreadsServer.cpp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'test/threads') diff --git a/test/threads/ThreadsClient.cpp b/test/threads/ThreadsClient.cpp index 85274a632..f5c076f2e 100644 --- a/test/threads/ThreadsClient.cpp +++ b/test/threads/ThreadsClient.cpp @@ -25,9 +25,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include using boost::shared_ptr; using namespace apache::thrift; diff --git a/test/threads/ThreadsServer.cpp b/test/threads/ThreadsServer.cpp index 8734ee893..8420c2f06 100644 --- a/test/threads/ThreadsServer.cpp +++ b/test/threads/ThreadsServer.cpp @@ -26,9 +26,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include using boost::shared_ptr; using namespace apache::thrift; @@ -111,8 +111,8 @@ int main(int argc, char **argv) { /* shared_ptr threadManager = ThreadManager::newSimpleThreadManager(10); - shared_ptr threadFactory = - shared_ptr(new PosixThreadFactory()); + shared_ptr threadFactory = + shared_ptr(new PlatformThreadFactory()); threadManager->threadFactory(threadFactory); threadManager->start(); -- cgit v1.2.1