kerneltest/e32test/thread/t_thread.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
equal deleted inserted replaced
43:c1f20ce4abcf 44:3e88ff8f41d5
   599 		thread.Panic(_L("panic"), 123);
   599 		thread.Panic(_L("panic"), 123);
   600 		User::WaitForRequest(stat);
   600 		User::WaitForRequest(stat);
   601 		test(thread.ExitCategory()==_L("panic"));
   601 		test(thread.ExitCategory()==_L("panic"));
   602 		test(thread.ExitReason()==123);
   602 		test(thread.ExitReason()==123);
   603 		test(thread.ExitType()==EExitPanic);
   603 		test(thread.ExitType()==EExitPanic);
   604 		r = RTest::CloseHandleAndWaitForDestruction(thread);
   604 		CLOSE_AND_WAIT(thread);
   605 		test_KErrNone(r);
       
   606 		}
   605 		}
   607 	
   606 	
   608 	test.Next(_L("Internal exit"));
   607 	test.Next(_L("Internal exit"));
   609 	r = StartInstructionThread(thread, _L("Thread4"), ENormal, anOwnerType, &stat, 0);
   608 	r = StartInstructionThread(thread, _L("Thread4"), ENormal, anOwnerType, &stat, 0);
   610 	test_KErrNone(r);
   609 	test_KErrNone(r);