-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udp: add a lock for the helpers list #732
Conversation
|
There is a dead lock currently in |
Solution:
Edit: |
This protects changes of prev and next pointer of the helpers list.
The new solution protects only changes of Protection against helper deletion vs. processing concurrency has to be done in the upper layer. |
relates to RX-thread: baresip/baresip#2445
The helpers list may be changed from main thread while the RX thread processes the helpers.
Edit: More concretely the bundle feature in baresip could add the bundle helper during the call, with UPDATE or re-INVITE.