diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-28 16:03:19 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-28 16:03:19 +0000 |
commit | ef3230f9a7e38dfe90c875656d05d93ce5c63721 (patch) | |
tree | 898c17759f6dd646ba1cd7ac6374cfb945ce330f /cppe/test/IceE/thread/CreateTest.cpp | |
parent | adding JAD file task def and fixing demo MIDlet build (diff) | |
download | ice-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.cpp | 16 |
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(); |