kerneltest/e32test/system/d_dobject.cpp
branchRCL_3
changeset 62 4a8fed1c0ef6
parent 0 a41df078684a
equal deleted inserted replaced
52:2d65c2f76d7b 62:4a8fed1c0ef6
   663 		//	Bit 15		no-close flag (ignored)
   663 		//	Bit 15		no-close flag (ignored)
   664 		//	Bits 16-29	instance value
   664 		//	Bits 16-29	instance value
   665 		//	Bit 30		thread local flag (ignored)
   665 		//	Bit 30		thread local flag (ignored)
   666 		//	Bit 31		special handle flag (should be 0)
   666 		//	Bit 31		special handle flag (should be 0)
   667 		//
   667 		//
   668 		NKern::LockSystem();
       
   669 		TInt  randomHandle = Kern::Random() & 0x3fff7fff;
   668 		TInt  randomHandle = Kern::Random() & 0x3fff7fff;
   670 		TInt  uniqueID = 0;		// any object type!
   669 		TInt  uniqueID = 0;		// any object type!
   671 				
   670 		
       
   671         NKern::LockSystem();
   672 		object = myIx.At(randomHandle, uniqueID);
   672 		object = myIx.At(randomHandle, uniqueID);
   673 		NKern::UnlockSystem();
   673 		NKern::UnlockSystem();
   674 
   674 
   675 		if (object != NULL)
   675 		if (object != NULL)
   676 			{
   676 			{