OSStatus CreateInterruptSet (
InterruptSetID parentSet,
InterruptMemberNumber parentMember,
InterruptMemberNumber setSize,
InterruptSetID *setID,
InterruptSetOptions options);
The CreateInterruptSet function extends an IST. When calling it, pass the member set ID and the set member number in parentSet and parentMember to uniquely identify which leaf member is to become the parent member. Pass the number of child members to create in setSize. Pass a pointer to a variable of type InterruptSetID in setID. CreateInterruptSet returns noErr if the creation process succeeded, and the variable pointed to by setID contains the member set ID of the new set's child members.
The options parameter operates in these ways to modify the default interrupt dispatching behavior:
CreateInterruptSet may be called only from task level, not from secondary or hardware interrupt level.