OSStatus SendSoftwareInterrupt(
SoftwareInterruptID softwareInterrupt,
const void *p2);
SendSoftwareInterrupt causes a task to run a software interrupt. It can be called from any execution level and acts as an asynchronous function.
Currently, SendSoftwareInterrupt calls the user back at the same execution level. In future versions of Mac OS it can be used to force execution of code that can't be called at interrupt level.