Set the expiration time for a realtime timer
#include <photon/realtime/RtTimer.h> int RtTimerSetTime( RtTimer_t *timer, int flags, struct itimerspec *value, struct itimerspec *ovalue );
ph
This function sets the expiration time for the timer identified by the structure pointed to by timer to the time specified by value.
See timer_settime() in the QNX Neutrino Library Reference.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
RtTimerCreate(), RtTimerDelete(), RtTimerGetTime()
timer_settime() in the QNX Neutrino Library Reference
“Timers” in the Working with Code chapter of the Photon Programmer's Guide