kerneltest/e32test/thread/t_thread.cpp
changeset 102 ef2a444a7410
parent 0 a41df078684a
child 257 3e88ff8f41d5
child 269 d57b86b1867a
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
   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 		CLOSE_AND_WAIT(thread);
   604 		r = RTest::CloseHandleAndWaitForDestruction(thread);
       
   605 		test_KErrNone(r);
   605 		}
   606 		}
   606 	
   607 	
   607 	test.Next(_L("Internal exit"));
   608 	test.Next(_L("Internal exit"));
   608 	r = StartInstructionThread(thread, _L("Thread4"), ENormal, anOwnerType, &stat, 0);
   609 	r = StartInstructionThread(thread, _L("Thread4"), ENormal, anOwnerType, &stat, 0);
   609 	test_KErrNone(r);
   610 	test_KErrNone(r);