Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual522629-013
14-149
SIGNALTIMEOUT Procedure
SIGNALTIMEOUT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Message
OSS Considerations
Example
Related Programming Manual
Summary
The SIGNALTIMEOUT procedure sets a timer to a given number of units of elapsed
time, as measured by the processor clock. When the time expires, the calling process
receives an indication in the form of a system message on $RECEIVE.
Syntax for C Programmers
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
The function value returned by SIGNALTIMEOUT, which indicates the condition
code, can be interpreted by the
_status_lt(), _status_eq(), or
_status_gt() function (defined in the file tal.h).
Syntax for TAL Programmers
Parameters
timeout-value input
INT(32):value
#include <cextdecs(SIGNALTIMEOUT)>
_cc_status SIGNALTIMEOUT ( __int32_t time-out-value
,[ short param1 ]
,[ __int32_t param2 ]
,[ short _near *tag ] );
CALL SIGNALTIMEOUT ( timeout-value ! i
,[ param1 ] ! i
,[ param2 ] ! i
,[ tag ] ); ! o