SP_signal()
install a signal handler
SP_event()
Schedules a function for execution in the main thread in contexts where queries cannot be issued.