interrupt_signal - unblocks the interupt_wait syscall
#include <zircon/syscalls.h> zx_status_t zx_interrupt_signal(zx_handle_t handle);
interrupt_signal() causes any thread blocked in zx_interrupt_wait for the same interrupt handle as handle to to unblock and return ZX_ERR_CANCELED. This can be used to unblock an interrupt thread so it can exit, when shutting down a driver.
interrupt_signal() returns ZX_OK on success. In the event of failure, a negative error value is returned.
ZX_ERR_BAD_HANDLE handle is not a valid handle.
interrupt_create, interrupt_wait, interrupt_complete, handle_close.