kernel/eka/kernel/sshbuf.cpp
changeset 11 329ab0095843
parent 9 96e5fb8b040d
equal deleted inserted replaced
10:36bfc973b146 11:329ab0095843
   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;