summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/thread/CreateTest.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-28 16:03:19 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-28 16:03:19 +0000
commitef3230f9a7e38dfe90c875656d05d93ce5c63721 (patch)
tree898c17759f6dd646ba1cd7ac6374cfb945ce330f /cppe/test/IceE/thread/CreateTest.cpp
parentadding JAD file task def and fixing demo MIDlet build (diff)
downloadice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.tar.bz2
ice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.tar.xz
ice-ef3230f9a7e38dfe90c875656d05d93ce5c63721.zip
Fix compiler warnings
Diffstat (limited to 'cppe/test/IceE/thread/CreateTest.cpp')
-rw-r--r--cppe/test/IceE/thread/CreateTest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/cppe/test/IceE/thread/CreateTest.cpp b/cppe/test/IceE/thread/CreateTest.cpp
index d080aacd708..82376343352 100644
--- a/cppe/test/IceE/thread/CreateTest.cpp
+++ b/cppe/test/IceE/thread/CreateTest.cpp
@@ -45,15 +45,15 @@ CreateTest::CreateTest() :
void
CreateTest::run()
-{
- int nthreads = 4096;
- //
- // 4096 threads takes forever to start on the WinCe emulator.
- //
-#ifdef _WIN32_WCE
- nthreads = 512;
+{
+ int nthreads = 4096;
+#ifdef _WIN32_WCE
+ //
+ // 4096 threads takes forever to start on the WinCe emulator.
+ //
+ nthreads = 512;
#endif
- for(int i = 0; i < 4096 ; ++i)
+ for(int i = 0; i < nthreads ; ++i)
{
CreateTestThreadPtr t = new CreateTestThread();
ThreadControl control = t->start();