summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/thread/CreateTest.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-06-03 19:32:20 -0700
committerMark Spruiell <mes@zeroc.com>2008-06-03 19:32:20 -0700
commit3d649bed4328992f41f567136025f58a019a5159 (patch)
tree470be901fbbfe5c6cd4269884412b0d36b48dc92 /cppe/test/IceE/thread/CreateTest.cpp
parentlocal interface fixes for slice2javae (diff)
downloadice-3d649bed4328992f41f567136025f58a019a5159.tar.bz2
ice-3d649bed4328992f41f567136025f58a019a5159.tar.xz
ice-3d649bed4328992f41f567136025f58a019a5159.zip
Various Ice-E fixes:
- Bug fix in slice2javae for local interfaces/classes - Added Ice.LocalObjectHolder - Reviewed Java/C++ demos and aligned with Ice - Source code clean up (removed tabs, etc.)
Diffstat (limited to 'cppe/test/IceE/thread/CreateTest.cpp')
-rw-r--r--cppe/test/IceE/thread/CreateTest.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/cppe/test/IceE/thread/CreateTest.cpp b/cppe/test/IceE/thread/CreateTest.cpp
index 9bee30ac317..70ff6513d7d 100644
--- a/cppe/test/IceE/thread/CreateTest.cpp
+++ b/cppe/test/IceE/thread/CreateTest.cpp
@@ -25,13 +25,13 @@ class CreateTestThread : public Thread
public:
CreateTestThread() :
- threadran(false)
+ threadran(false)
{
}
virtual void run()
{
- threadran = true;
+ threadran = true;
}
bool threadran;
@@ -56,22 +56,22 @@ CreateTest::run()
#endif
for(int i = 0; i < nthreads ; ++i)
{
- CreateTestThreadPtr t = new CreateTestThread();
- ThreadControl control = t->start();
- control.join();
- test(t->threadran);
+ CreateTestThreadPtr t = new CreateTestThread();
+ ThreadControl control = t->start();
+ control.join();
+ test(t->threadran);
#ifdef _WIN32_WCE
- if((i % 32) == 0)
- {
- tprintf(".");
- }
+ if((i % 32) == 0)
+ {
+ tprintf(".");
+ }
#else
- if((i % 256) == 0)
- {
- char buf[5];
- sprintf(buf, "%04d", i);
- tprintf("%s", buf);
- }
+ if((i % 256) == 0)
+ {
+ char buf[5];
+ sprintf(buf, "%04d", i);
+ tprintf("%s", buf);
+ }
#endif
}
#ifndef _WIN32_WCE