Test Pending Interrupts (TESTINTR)

Instruction Syntax

Bound Program Access
Built-in number for TESTINTR is 359.
TESTINTR (
) :   An unsigned binary(4) with the set of pending thread interrupts is
      returned

Description:

The set of pending interrupts is returned for the current thread. The format of the returned pending interrupts is defined as follows:

Offset  
Dec Hex Field Name Data Type and Length
0 0 Pending interrupts UBin(4)
0 0
  • Time slice end
  • Bit 0
0 0
  • Transfer lock
  • Bit 1
0 0
  • Asynchronous lock retry
  • Bit 2
0 0
  • Suspend process
  • Bit 3
0 0
  • Resume process
  • Bit 4
0 0
  • Modify resource management attributes
  • Bit 5
0 0
  • Modify process or thread attributes
  • Bit 6
0 0
  • Terminate machine processing
  • Bit 7
0 0
  • Terminate process or thread
  • Bit 8
0 0
  • Wait time-out
  • Bit 9
0 0
  • Event schedule
  • Bit 10
0 0
  • Thread operations between threads
  • Bit 11
0 0
  • Cancel long running MI instruction
  • Bit 12
0 0
  • Reserved (binary 0)
  • Bit 13
0 0
  • Deliver queue space message
  • Bit 14
0 0
  • Signal schedule
  • Bit 15
0 0
  • Reserved (binary 0)
  • Bits 16-31
4
4
--- End ---
 
Note: Other alternatives for obtaining the pending interrupt information are option hex 20 or option hex 24 on the Materialize Process Attributes (MATPRATR) instruction.

Authorization Required

  • None

Lock Enforcement

  • None

Exceptions

  • 06 Addressing
    • 0601 Space Addressing Violation
    • 0602 Boundary Alignment
    • 0603 Range
  • 08 Argument/Parameter
    • 0801 Parameter Reference Violation
  • 0A Authorization
    • 0A01 Unauthorized for Operation
  • 10 Damage Encountered
    • 1004 System Object Damage State
    • 1005 Authority Verification Terminated Due to Damaged Object
    • 1044 Partial System Object Damage
  • 1C Machine-Dependent
    • 1C03 Machine Storage Limit Exceeded
  • 20 Machine Support
    • 2002 Machine Check
    • 2003 Function Check
  • 22 Object Access
    • 2202 Object Destroyed
    • 2203 Object Suspended
    • 2207 Authority Verification Terminated Due to Destroyed Object
    • 2208 Object Compressed
    • 220B Object Not Available
  • 24 Pointer Specification
    • 2401 Pointer Does Not Exist
    • 2402 Pointer Type Invalid
  • 36 Space Management
    • 3601 Space Extension/Truncation