kerneltest/f32test/demandpaging/t_wdpstress.cpp
branchRCL_3
changeset 62 4a8fed1c0ef6
parent 33 0173bcd7697c
child 109 b3a1d9898418
--- a/kerneltest/f32test/demandpaging/t_wdpstress.cpp	Tue Feb 02 01:24:03 2010 +0200
+++ b/kerneltest/f32test/demandpaging/t_wdpstress.cpp	Sat Feb 20 00:10:51 2010 +0200
@@ -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;