kerneltest/e32test/system/d_dobject.cpp
branchCompilerCompatibility
changeset 77 c4d65d91ad0c
parent 62 4a8fed1c0ef6
--- a/kerneltest/e32test/system/d_dobject.cpp	Mon Mar 08 11:57:08 2010 +0000
+++ b/kerneltest/e32test/system/d_dobject.cpp	Sun Mar 14 13:15:32 2010 +0000
@@ -665,10 +665,10 @@
 		//	Bit 30		thread local flag (ignored)
 		//	Bit 31		special handle flag (should be 0)
 		//
-		NKern::LockSystem();
 		TInt  randomHandle = Kern::Random() & 0x3fff7fff;
 		TInt  uniqueID = 0;		// any object type!
-				
+		
+        NKern::LockSystem();
 		object = myIx.At(randomHandle, uniqueID);
 		NKern::UnlockSystem();