kerneltest/e32test/misc/t_svr3.cpp
changeset 121 661475905584
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
120:b42b9ce90ea9 121:661475905584
   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