equal
deleted
inserted
replaced
847 |
847 |
848 @return the handle if successful, otherwise one of the system-wide error codes. |
848 @return the handle if successful, otherwise one of the system-wide error codes. |
849 */ |
849 */ |
850 EXPORT_C TInt Kern::ShBufMakeHandleAndOpen(TShBuf* aBuf, DThread* aThread) |
850 EXPORT_C TInt Kern::ShBufMakeHandleAndOpen(TShBuf* aBuf, DThread* aThread) |
851 { |
851 { |
852 CHECK_PRECONDITIONS(MASK_THREAD_CRITICAL, "Kern::ShPoolMakeHandleAndOpen"); |
852 CHECK_PRECONDITIONS(MASK_THREAD_CRITICAL, "Kern::ShBufMakeHandleAndOpen"); |
853 |
853 |
854 if (!aThread) |
854 if (!aThread) |
855 aThread = TheCurrentThread; |
855 aThread = TheCurrentThread; |
856 |
856 |
857 TUint attr = (TUint)RObjectIx::EReserved; |
857 TUint attr = (TUint)RObjectIx::EReserved; |