Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN su_duration_t su_root_step ( su_root_t self,
su_duration_t  tout 

Process events, timers and messages.

The function su_root_step() waits for wait objects and the timers associated with the root object. When any wait object is signaled or timer is expired, it invokes the callbacks.

This function returns when a callback has been invoked or tout milliseconds is elapsed.

selfpointer to root object
touttimeout in milliseconds
Milliseconds to the next invocation of timer
Return values:
SU_WAIT_FOREVERif there are no active timers or if there was an error

Definition at line 896 of file su_root.c.

References su_root_step().

Referenced by su_root_step().

  if (self == NULL)
    return (void)(errno = EFAULT), SU_WAIT_FOREVER;
  return su_port_step(self->sur_port, tout);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index