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

SOFIAPUBFUN void su_root_run ( su_root_t self )

Run event and message loop.

The function su_root_run() runs the root main loop. The root loop 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, and returns waiting.

This function returns when su_root_break() is called from a callback.

selfpointer to root object

Definition at line 856 of file su_root.c.

References su_root_run().

Referenced by su_root_run().

  if (!self)
    return /* (void)(errno = EFAULT), -1 */;

  /* return */ su_port_run(self->sur_port);

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