Skip to content

Prevent data race in PJSIP presence#3847

Merged
sauwming merged 3 commits intomasterfrom
presence-lock
Jan 31, 2024
Merged

Prevent data race in PJSIP presence#3847
sauwming merged 3 commits intomasterfrom
presence-lock

Conversation

@sauwming
Copy link
Copy Markdown
Member

@sauwming sauwming commented Jan 30, 2024

Add mutex to prevent data race in PJSIP presence, as per the discussion in #3754.

Also in this PR (#3754 (comment)):
Moved _is_valid flag to presence struct, and move _is_valid checking in pres_process_rx_notify().

@sauwming sauwming merged commit a32d7c2 into master Jan 31, 2024
@sauwming sauwming deleted the presence-lock branch January 31, 2024 01:09
BarryYin pushed a commit to BarryYin/pjproject that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants