[Previous] [Contents] [Index] [Next]

PhTimerArm()

Arm a timer event

Synopsis:

int PhTimerArm ( PhRid_t rid, 
                 long handle, 
                 unsigned msec );

Description:

The PhTimerArm() arms a timer event on the region specified by rid to be triggered after msec milliseconds. The handle argument is returned in the timer event. See PhT.h for information about the timer event structure.


Note: Don't use PhTimerArm() in an application that uses widgets - use PtTimerArm() instead.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTimerArm()


[Previous] [Contents] [Index] [Next]