Shutdown
The Shutdown routine is used to reverse the effects of initialization: to deallocate data and to destroy threads.
The Shutdown routine is called before shutting down the
server and again before reloading the configuration file at each server
reinitialization. The routine must return execution to the server
so the server can reinitialize and properly shut down. The following
is the structure of the Shutdown routine:
void Shutdown ( caddr_t hObjectInstance ) ;
Where:
| Item | Description |
|---|---|
| hObjectInstance | Is the same configuration instance handle created when this object was initialized. |