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

SOFIAPUBFUN su_duration_t su_root_get_max_defer ( su_root_t const *  self )

Get maximum defer time.

The deferrable timers can be deferred until the task is otherwise activated, however, they are deferred no longer than the maximum defer time. The maximum defer time is 15 seconds by default.

selfpointer to root object
Maximum defer time in milliseconds

Definition at line 723 of file su_root.c.

References su_root_get_max_defer(), and SU_WAIT_MAX.

Referenced by su_root_get_max_defer().

  su_duration_t max_defer = SU_WAIT_MAX;

  if (self != NULL)
    su_port_max_defer(self->sur_port, &max_defer, NULL);

  return max_defer;

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