equal
deleted
inserted
replaced
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 |
709 TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo) |
710 EXPORT_C TInt UserHeap::SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo& aInfo) |
|
711 { |
710 { |
712 TInt r = KErrNone; |
711 TInt r = KErrNone; |
713 if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0) |
712 if (!aInfo.iAllocator && aInfo.iHeapInitialSize>0) |
714 { |
713 { |
715 // new heap required |
714 // new heap required |