kerneltest/e32test/misc/t_svr6.cpp
changeset 121 661475905584
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
120:b42b9ce90ea9 121:661475905584
   704 	}
   704 	}
   705 
   705 
   706 // Override heap creation for this process
   706 // Override heap creation for this process
   707 // This function runs at the beginning of every thread
   707 // This function runs at the beginning of every thread
   708 // Initial heap is shared but subsequent heaps are single threaded
   708 // Initial heap is shared but subsequent heaps are single threaded
   709 TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo)
   709 
       
   710 EXPORT_C TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo)
   710 	{
   711 	{
   711 	TInt r = KErrNone;
   712 	TInt r = KErrNone;
   712 	if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0)
   713 	if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0)
   713 		{
   714 		{
   714 		// new heap required
   715 		// new heap required