summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/thread/StartTest.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-11 16:41:12 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-11 16:41:12 +0000
commit8ff7c2608eb845c3b6b637f4648ae726a11a158b (patch)
treef1dfb4d3a63752357480561fdd94f37692d8eb47 /cppe/test/IceE/thread/StartTest.cpp
parentfix some recent changes to build in J2ME (diff)
downloadice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.tar.bz2
ice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.tar.xz
ice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.zip
Put back IceUtil namespace
Diffstat (limited to 'cppe/test/IceE/thread/StartTest.cpp')
-rw-r--r--cppe/test/IceE/thread/StartTest.cpp10
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;