Ticket #2048 (closed enhancement: fixed)

Opened 3 weeks ago

Last modified 3 weeks ago

Add compile time option to disable sleep in sip endpoint's handle events on ioqueue polling's error

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.8
Component: applications Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

On certain errors such as EINTR, it may be desirable for pjsip_endpt_handle_events2() to return immediately, instead of sleeping first.

However, for backward compatibility, we decide to change the sleep to a max of 10ms and provide a compile time option to disable it completely (by default, it's enabled).

Thanks to Kal Conley for the patch.

Change History

comment:1 Changed 3 weeks ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5668:

Fix #2048: Add compile time option to disable sleep in sip endpoint's handle events on ioqueue polling's error

Note: See TracTickets for help on using tickets.