diff options
Diffstat (limited to 'cppe/test/IceE/thread/StartTest.cpp')
-rw-r--r-- | cppe/test/IceE/thread/StartTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppe/test/IceE/thread/StartTest.cpp b/cppe/test/IceE/thread/StartTest.cpp index 9b5f6d3291e..c64e72ae0c5 100644 --- a/cppe/test/IceE/thread/StartTest.cpp +++ b/cppe/test/IceE/thread/StartTest.cpp @@ -15,11 +15,11 @@ #include <TestCommon.h> using namespace std; -using namespace Ice; +using namespace IceUtil; static const string createTestName("thread start"); -static Ice::Mutex threadCountMutex;
+static IceUtil::Mutex threadCountMutex;
static int threadCount = 0;
class StartTestThread : public Thread @@ -32,7 +32,7 @@ public: virtual void run() { - Ice::Mutex::Lock sync(threadCountMutex); + IceUtil::Mutex::Lock sync(threadCountMutex); --threadCount; } }; @@ -72,7 +72,7 @@ StartTest::run() for(int j = 0; j < 5; j++) { { - Ice::Mutex::Lock sync(threadCountMutex); + IceUtil::Mutex::Lock sync(threadCountMutex); ++threadCount; } Thread* t = new StartTestThread; @@ -84,7 +84,7 @@ StartTest::run() while(true) { { - Ice::Mutex::Lock sync(threadCountMutex); + IceUtil::Mutex::Lock sync(threadCountMutex); if(threadCount == 0) { break; |