kerneltest/e32test/misc/t_svr6.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
102:ef2a444a7410 109:b3a1d9898418
   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