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

Failing tests for some corner-case uses #37

Closed
wants to merge 1 commit into from

Conversation

popravich
Copy link
Member

Several tests to show when RWLock doesn't work as expected.

@popravich
Copy link
Member Author

@jettify, please take a look.

@jettify
Copy link
Member

jettify commented May 19, 2017

Interesting, does patch from python/cpython#1031 fix issue?

@popravich
Copy link
Member Author

It fixes one issue -- deadlock,
RWLock has another issue (see test_get_write_then_read) when:

  • task A acquires write lock and then acquires read lock
  • any other task would see rwlock as unlocked (both read and write) and will be able to acquire it.

@jettify
Copy link
Member

jettify commented Dec 17, 2017

fixed by #39

@jettify jettify closed this Dec 17, 2017
@jettify jettify deleted the corner_case_tests branch June 25, 2019 11:52
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.

2 participants