Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL522631-001
8-21
SETJMP_
Saves process context in a jump buffer. This context is used when a nonlocal goto is
performed by a corresponding call to the LONGJMP_ procedure.
SETLOOPTIMER
Aborts the caller if the caller begins looping (malfunctioning), and permits the caller to
calculate the amount of processor time it has used.
Note. For more information, please see Section 10, SET^FILE Operations.
?SOURCE $SYSTEM.SYSTEM.HSETJMP
retval := SETJMP_ ( env ); ! o
retval INT(32) returned value
0D Indicates that the SETJMP_ procedure was called directly.
<>0D Indicates that the SETJMP_ procedure is returning as a result of a call to the
LONGJMP_ procedure. The returned value is specified by LONGJMP_.
env, INT .EXT:ref:(JMP_BUF_TEMPLATE) output
CALL SETLOOPTIMER ( new-time-limit ,[ old-time-limit ] );
new-time-limit, INT:value input
old-time-limit, INT:ref:1 output
< (CCL) The new-time-limit parameter is omitted or is specified as a negative
value. The state of process loop timing and the setting of the process’s loop
timer are unchanged.
= (CCE) The new-time-limit value is set into the process’s loop timer and that loop
timing is enabled.