NAME
XtAppAddTimeOut, XtRemoveTimeOut - register and remove timeouts
SYNTAX
XtIntervalId XtAppAddTimeOut(XtAppContext _a_p_p___c_o_n_t_e_x_t, unsigned long
_i_n_t_e_r_v_a_l, XtTimerCallbackProc _p_r_o_c, XtPointer _c_l_i_e_n_t___d_a_t_a);
void XtRemoveTimeOut(XtIntervalId _t_i_m_e_r);
ARGUMENTS
-
_a_p_p___c_o_n_t_e_x_t
Specifies the application context for which the timer is to be set.
-
-
_c_l_i_e_n_t___d_a_t_a
Specifies the argument that is to be passed to the specified procedure
-
when .mode-bold-on
-
_i_n_t_e_r_v_a_l
Specifies the time interval in milliseconds.
-
-
_p_r_o_c
Specifies the procedure that is to be called when time expires.
-
-
_t_i_m_e_r
Specifies the ID for the timeout request to be destroyed.
-
DESCRIPTION
The
_X_t_A_p_p_A_d_d_T_i_m_e_O_u_t
function creates a timeout and returns an identifier for it.
The timeout value is set to interval.
The callback procedure is called when the time interval elapses,
and then the timeout is removed.
The
_X_t_R_e_m_o_v_e_T_i_m_e_O_u_t
function removes the timeout.
Note that timeouts are automatically removed once they trigger.
SEE ALSO
XtAppAddInput(3Xt),XtAppAddSignal(3Xt)
_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s _- _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e