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

Make library thread safe #69

Open
j123b567 opened this issue Dec 5, 2015 · 0 comments
Open

Make library thread safe #69

j123b567 opened this issue Dec 5, 2015 · 0 comments

Comments

@j123b567
Copy link
Owner

j123b567 commented Dec 5, 2015

Library is not thread safe. To overcome this issue

  • user must use library only in one thread and use message queue to communicate with scpi thread
  • user must lock all manipulations with scpi_context

With recursive mutex, it is possible to define some macro and extend the library to perform context locking by itself.

This issue is related to #68 and #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant