Skip to content

Adds multithreading support to OSCKit - #28

Open
Daniel-Higgott wants to merge 2 commits into
sammysmallman:4.xfrom
Daniel-Higgott:4.x
Open

Daniel-Higgott wants to merge 2 commits into
sammysmallman:4.xfrom
Daniel-Higgott:4.x

Conversation

@Daniel-Higgott

Copy link
Copy Markdown

This pull request addresses a crash that could occur when sending UDP packets from multiple threads. This fix works by adding a thread lock anytime the framework sends a packet. The thread unlock is deferred until the function falls out of scope.

This commit has been tested and is in use in production with no known issues.

Daniel Higgott added 2 commits August 21, 2024 13:25
…ndition when accessing the sendingPackets dictionary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant