Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement Multi-Threading's Mutex Callback APIs #167

Merged
merged 4 commits into from
Nov 24, 2022

Conversation

RadWolfie
Copy link
Member

External projects planned to use multi-threading with XbSymbolContext_ScanLibrary API is require to provide mutex (un)lock functions and opaque pointer. As they are responsible to create threads and handle requested (un)locks.

This pull request also contain:

  • Few fixes to XML doc on APIs.
  • Fixed missing additional lock when double unlocks occurred unexpectedly.

This is a temporary workaround fix at the moment until more suitable APIs are provided to priority which library should be scan first and last.

@github-actions github-actions bot added the CMAKE label Nov 22, 2022
@ergo720 ergo720 merged commit 51488b6 into Cxbx-Reloaded:master Nov 24, 2022
@RadWolfie RadWolfie deleted the impl-mutex-callback branch November 25, 2022 12:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants