kerneltest/e32test/misc/t_svr3.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
equal deleted inserted replaced
42:a179b74831c9 43:c1f20ce4abcf
   576 	}
   576 	}
   577 
   577 
   578 // Override heap creation for this process
   578 // Override heap creation for this process
   579 // This function runs at the beginning of every thread
   579 // This function runs at the beginning of every thread
   580 // Initial heap is shared but subsequent heaps are single threaded
   580 // Initial heap is shared but subsequent heaps are single threaded
   581 TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo)
   581 
       
   582 EXPORT_C TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo)
   582 	{
   583 	{
   583 	TInt r = KErrNone;
   584 	TInt r = KErrNone;
   584 	if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0)
   585 	if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0)
   585 		{
   586 		{
   586 		// new heap required
   587 		// new heap required