Open System Services System Calls Reference Manual (G06.27+, H06.04+)
System Functions (s and S) spt_TimerHandler_p(2)
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 possible.
-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 hun-
dredths 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.
527186-004 Hewlett-Packard Company 7−149