Updated: October 28, 2024 |
Detach an interrupt handler by ID
#include <sys/neutrino.h> int InterruptDetach( int id ); int InterruptDetach_r( int id );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The InterruptDetach() and InterruptDetach_r() kernel calls detach the interrupt handler specified by the id argument. These functions are identical except in the way they indicate errors. See the Returns section for details.
Blocking states
These calls don't block.
The only difference between these functions is the way they indicate errors:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |