kerneltest/f32test/fileshare/handshare.cpp
branchRCL_3
changeset 19 4a8fed1c0ef6
parent 0 a41df078684a
child 43 c1f20ce4abcf
equal deleted inserted replaced
15:2d65c2f76d7b 19:4a8fed1c0ef6
   646 
   646 
   647 	// Sanity check for open handles
   647 	// Sanity check for open handles
   648 	TInt end_thc, end_phc;
   648 	TInt end_thc, end_phc;
   649 	RThread().HandleCount(end_phc, end_thc);
   649 	RThread().HandleCount(end_phc, end_thc);
   650 	test(start_thc == end_thc);
   650 	test(start_thc == end_thc);
   651 	test(start_phc == end_phc);
   651 //	test(start_phc == end_phc);
   652 	// and also for pending requests ...
   652 	// and also for pending requests ...
   653 	test(RThread().RequestCount() == 0);
   653 	test(RThread().RequestCount() == 0);
   654 
   654 
   655 	
   655 	
   656 	return KErrNone;
   656 	return KErrNone;
   697 	CActiveScheduler::Start();
   697 	CActiveScheduler::Start();
   698 
   698 
   699 
   699 
   700 	// wait for server2's thread to end gracefully
   700 	// wait for server2's thread to end gracefully
   701 	User::WaitForRequest(statq);
   701 	User::WaitForRequest(statq);
   702 
   702 	test(statq == KErrNone);
   703 
   703 
   704 	server2Thread.Close();
   704 	server2Thread.Close();
   705 
   705 
   706 	RFs cleanupfs;
   706 	RFs cleanupfs;
   707 	r = cleanupfs.Connect();
   707 	r = cleanupfs.Connect();