kerneltest/f32test/demandpaging/t_wdpstress.cpp
branchCompilerCompatibility
changeset 77 c4d65d91ad0c
parent 62 4a8fed1c0ef6
child 109 b3a1d9898418
--- a/kerneltest/f32test/demandpaging/t_wdpstress.cpp	Mon Mar 08 11:57:08 2010 +0000
+++ b/kerneltest/f32test/demandpaging/t_wdpstress.cpp	Sun Mar 14 13:15:32 2010 +0000
@@ -1793,7 +1793,10 @@
 						//infoPtrs[index]->SetUseHeap(gThreadHeap);
 						ret = pTheThreads[index].Create(*infoPtrs[index]);
 						if (ret != KErrNone)
+							{
+							pThreadInUse[index] = 0;
 							continue;
+							}
 						pTheThreads[index].Resume();
 						pThreadInUse[index] = 1;
 						continue;