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 SharedVar.wait*() methods return bool to signal if timeout was reached #132

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kgodlewski
Copy link
Contributor

@kgodlewski kgodlewski commented Feb 12, 2025

This is the return value of multiprocessing.Condition.wait*(), signalling whether timeout was reached or not -- it's useful/necessary for some tests. This change will not affect existing code, as the previous return value was None and is not checked anywhere.

Some method docstrings are also modified/added.

@kgodlewski kgodlewski force-pushed the kg/shared-var-wait-returns-bool branch 2 times, most recently from 86f6f7d to f68e12a Compare February 14, 2025 12:21
This is the return value of `multiprocessing.Condition.wait*()`,
signalling whether timeout was reached or not.
@kgodlewski kgodlewski force-pushed the kg/shared-var-wait-returns-bool branch from f68e12a to 60aa4dc Compare February 17, 2025 16:02
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.

1 participant