Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

spt_TimerHandler_p(2) OSS System Calls Reference Manual
NAME
spt_TimerHandler_p - Executes callback type required by spt_regTimerHandler( ) function
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
typedef long (*spt_TimerHandler_p)(void);
PARAMETERS
None.
DESCRIPTION
This function executes a callback type required by the spt_regTimerHandler() function. The
callback is executed in the context of the last running thread. This means that the callback exe-
cutes on the stack of the last running thread.
RETURN VALUES
0 Callback has readied a thread to run, and will be invoked again as soon as possi-
ble.
-1 Callback has not readied a thread, but will be invoked again as soon as possible.
>0 (zero) Callback has not readied a thread. Return value is the hundredths of a second
until callback should be invoked again.
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification. Interfaces documented on this
reference page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
7426 Hewlett-Packard Company 527186-023