Interrupt Package
Function List
The Interrupt package contains the following KPs.
- op_intrpt_clear_self() Cancels all self interrupts pending for the invoking process.
- op_intrpt_code() Obtains the numeric code associated with the current interrupt of the invoking process.
- op_intrpt_disable() Prohibits the specified class of interrupts from being delivered to the invoking process, either for an indefinite period or just for the next occurrence of such an interrupt.
- op_intrpt_enable() Re-permits the specified class of interrupt for delivery to the invoking process, for an indefinite period.
- op_intrpt_enable_all() Permits delivery of all classes of interrupts to the invoking process, for an indefinite period.
- op_intrpt_esys_interface() Obtains the esys interface ID associated with the current interrupt of the invoking process.
- op_intrpt_force_remote() Forces a remote interrupt for the specified processor or queue. This immediately invokes the appropriate process in that module and temporarily suspends execution of the current process.
- op_intrpt_ici() Obtains the ICI associated with the current interrupt.
- op_intrpt_port_deregister() Reverses effect of a previous call to op_intrpt_port_register(), which routes specific stream or statwire interrupts to a particular process within the currently executing module. Interrupts arriving on the specified stream or statwire are then routed to default processes in the module instead.
- op_intrpt_port_register() Registers a process as the direct recipient of stream or statistic interrupts that arrive at a particular port of the currently executing module.
- op_intrpt_priority_get() Obtains the priority setting of interrupts matching specified type and code.
- op_intrpt_priority_set() Sets the priority of interrupts to the invoking process with a specified type and code.
- op_intrpt_priority_set_next() Sets the priority of the next interrupt of the specified type and code.
- op_intrpt_schedule_call() Schedules an invocation of the specified procedure, at the specified time.
- op_intrpt_schedule_call_mt() Schedules an invocation of the specified procedure, at the specified time (mutex safe).
- op_intrpt_schedule_mcast_global() Schedules an mcast interrupt for every processor and queue module, at the specified time.
- op_intrpt_schedule_process() Schedules a process interrupt for a particular process, at the specified time.
- op_intrpt_schedule_remote() Schedules a remote interrupt for the specified processor or queue, at the specified time.
- op_intrpt_schedule_self() Schedules a self interrupt for the invoking process.
- op_intrpt_schedule_self_mt() Schedules a self interrupt that is explicitly guaranteed by the client to be safe for parallel execution.
- op_intrpt_source() Obtains the object ID of the node, link, or module that was the source of the current interrupt of the invoking process.
- op_intrpt_stat() Obtains the input statistic index associated with the current interrupt of the invoking process.
- op_intrpt_state_ptr_get() Obtains the client state associated with the current event.
- op_intrpt_strm() Obtains the stream index associated with the current interrupt of the invoking process.
- op_intrpt_type() Obtains the type of the current interrupt of the invoking process.
- op_intrpt_type_register() Registers a process as the direct recipient of all future interrupts of a particular type that arrive at the currently executing module. This replaces the default behavior which is to interrupt the module’s root process.
See Package Overview for a general description of this KP package.