-
Notifications
You must be signed in to change notification settings - Fork 43
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
threading locks seem to be thread-unsafe (sic!) #36
Comments
I think I found the problem... So I think the following scenario is possible:
So this leads to Not sure how to fix this, though... |
It's ironic that the _threading module isn't thread-safe ;-) But it's not that shocking. I'll read it over myself and get back to you. (p.s. good catch!) |
Just in case - I left a PR ( #37 ) that reduces one data race possibility to almost zero (though it does not remove it completely). I think merging it won't hurt anyone :) |
Probably related:
|
Most certainly it is related, this was more or less the issue I was Thanks,
|
When running the following script
I'm always sooner or later getting the following traceback:
I'm trying to figure out what's wrong but so far I have no clue... any suggestions welcome.
P.S. This is a reduced reproducer for the issue that was sometimes seen when launching
x.py
The text was updated successfully, but these errors were encountered: