equal
deleted
inserted
replaced
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 |