Opened 6 years ago

Closed 6 years ago

#2048 closed enhancement (fixed)

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.7.1
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 (1)

comment:1 Changed 6 years ago by ming

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

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.