OpenHiva::WaitForShutdown
Description
This interface is invoked in blocking mode to prevent the main thread from exiting in advance. Resources are released before the framework exits.
Prototype
void OpenHiva::WaitForShutdown()
Parameters
None
Returns
None
Usage
None
Precautions
The WaitForShutdown interface is invoked to release resources to prevent the main thread from exiting in advance. When the process stops abnormally, the WaitForShutdown interface automatically invokes OpenHiva::Shutdown to clear resources.
Parent topic: Initialization/Exit/Scheduling APIs