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

thread safety #243

Closed
bchurchill opened this issue Mar 13, 2018 · 0 comments
Closed

thread safety #243

bchurchill opened this issue Mar 13, 2018 · 0 comments
Assignees

Comments

@bchurchill
Copy link
Member

While generally x64asm need not offer thread safety (consumers of the library are responsible for creating per-thread copies), there are a few places where it makes use of global variables without any kind of locking/mutex.

  • in the constructor Label::Label
  • in the function that computes the hex_size of an instruction

This issue is to fix these so that using x64asm in a multithreaded environment is possible.

@bchurchill bchurchill self-assigned this Mar 13, 2018
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

No branches or pull requests

1 participant