Skip to content
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

Revert "Mark cs_* as thread local to avoid race condition in multithreads" #1933

Merged
merged 1 commit into from Jul 1, 2023

Conversation

oleavr
Copy link
Contributor

@oleavr oleavr commented Nov 9, 2022

Having per-thread memory allocation routines is a major change in behavior that likely broke a lot of applications.

This reverts commit bdab894.

…eads"

Having per-thread memory allocation routines is a major change in
behavior that likely broke a lot of applications.

This reverts commit bdab894.
@wtdcode
Copy link
Contributor

wtdcode commented Jul 1, 2023

Originally report: #1891

After examining it again, I believe it was a false positive due to google/sanitizers#1017. This PR should be safe to go.

@aquynh aquynh merged commit 1995ddf into capstone-engine:next Jul 1, 2023
@aquynh
Copy link
Collaborator

aquynh commented Jul 1, 2023

merged, thanks!

@oleavr oleavr deleted the fix/cs-mem-callbacks branch July 3, 2023 09:12
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.

None yet

3 participants