OSStatus CreateSoftwareInterrupt(
SoftwareInterruptHandlerhandler,
TaskID task,
const void *p1,
Boolean persistent,
SoftwareInterruptID *softwareInterrupt)
CreateSoftwareInterrupt creates a software interrupt for a specified task. It can be called either from noninterrupt or secondary execution level.
Persistent software interrupts may be sent multiple times but only once per activation; that is, the software interrupt must run before it can be sent again.
CreateSoftwareInterrupt may be called from task level or secondary interrupt level but not from hardware interrupt level.