kernel/eka/kernel/sshbuf.cpp
changeset 36 538db54a451d
parent 0 a41df078684a
equal deleted inserted replaced
34:f497542af8e4 36:538db54a451d
   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;