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

Race conditions when setting UI variables #4

Open
MattDN93 opened this issue Oct 3, 2016 · 1 comment
Open

Race conditions when setting UI variables #4

MattDN93 opened this issue Oct 3, 2016 · 1 comment

Comments

@MattDN93
Copy link
Owner

MattDN93 commented Oct 3, 2016

Due to multiple threads accessing the UI set variables, sometimes race conditions occur. Using semaphores cause deadlocks since the invokeRequired() method causes a thread switch which is then not allowed into the semaphore it was in before the invoke.

@MattDN93
Copy link
Owner Author

Mostly not an issue if data comes in at ~1s intervals (which is what it will do anyway)

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