diff options
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(); |