InterviewSolution
| 1. |
What Is Cleanup Mechanism In Symbian? |
|
Answer» To handle the exceptions in symbian we USED the cleanup stack mechanism.The Symbian exception mechanism is BASED on leaving.The most important issue here is the Cleanup Stack. Symbian OS is optimized for low resource usage, and when an UNEXPECTED event occurs, there is a need to clean up all the currently allocated objects. To ensure you actually de-allocate ANY object you create, there is a stack, named the Cleanup Stack, where you push any object that needs to be de-allocated LATER. To handle the exceptions in symbian we used the cleanup stack mechanism.The Symbian exception mechanism is based on leaving.The most important issue here is the Cleanup Stack. Symbian OS is optimized for low resource usage, and when an unexpected event occurs, there is a need to clean up all the currently allocated objects. To ensure you actually de-allocate ANY object you create, there is a stack, named the Cleanup Stack, where you push any object that needs to be de-allocated later. |
|