equal
deleted
inserted
replaced
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 { |