Den::THeapSwitcher Class Reference
Helper class for switching the current thread to share that of a peer worker thread. This is necessary for heap manipulating actions such as adding to a container owned by the peer, as well as the more obvious case of deleting an object created by them. Construct a THeapSwitcher instance passing the identity of the peer thread to switch to using their heap. Destroy the THeapSwitcher instance or explicitly call RevertToOwnHeap() to resume using the normal heap for the caller thread.
Constructor & Destructor Documentation
THeapSwitcher(CCommonPitBoss &, const Messages::TNodeId &)
THeapSwitcher(CCommonPitBoss &, CommsFW::TWorkerId)
Member Functions Documentation
MaybeSwitch(CCommonPitBoss &, CommsFW::TWorkerId)
RevertToOwnHeap()
IMPORT_C void | RevertToOwnHeap | ( | ) | |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.