kerneltest/e32test/demandpaging/t_thrash.cpp
branchRCL_3
changeset 41 0ffb4e86fcc9
parent 28 5b5d147c7838
equal deleted inserted replaced
39:2bb754abd467 41:0ffb4e86fcc9
   268 	do
   268 	do
   269 		{	
   269 		{	
   270 		RThread thread;
   270 		RThread thread;
   271 		test_KErrNone(thread.Create(_L("EnsureSystemIdleThread"), EnsureSystemIdleThread, 1024, NULL, NULL));		
   271 		test_KErrNone(thread.Create(_L("EnsureSystemIdleThread"), EnsureSystemIdleThread, 1024, NULL, NULL));		
   272 		thread.SetPriority(EPriorityLess);
   272 		thread.SetPriority(EPriorityLess);
   273 		thread.Resume();
       
   274 
       
   275 		TRequestStatus status;
   273 		TRequestStatus status;
   276 		thread.Rendezvous(status);
   274 		thread.Rendezvous(status);
       
   275 		thread.Resume();
       
   276 
   277 		User::WaitForRequest(status);
   277 		User::WaitForRequest(status);
   278 		test_KErrNone(status.Int());
   278 		test_KErrNone(status.Int());
   279 
   279 
   280 		User::After(KSampleTime);
   280 		User::After(KSampleTime);
   281 		thread.Suspend();
   281 		thread.Suspend();