Clean up when the input manager terminates
static int shutdown( message_context_t *pContext, int delay );
This function is used to perform any required cleanup before the devi-* program terminates. It's called by the Input Runtime System when a terminal signal has been caught.
This function should bring the state of the system to a point suitable for process termination.
The arguments are:
EOK
See device/kb.c.
Your code
Safety: | |
---|---|
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |