Skip to content

Use queue.Queue().get() rather than queue.Queue().get_nowait() #247

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

Merged
merged 5 commits into from
Jan 31, 2024

Conversation

jan-janssen
Copy link
Member

No description provided.

# Conflicts:
#	pympipool/__init__.py
#	pympipool/flux/executor.py
#	pympipool/mpi/executor.py
#	pympipool/slurm/executor.py
# Conflicts:
#	pympipool/__init__.py
#	pympipool/mpi/executor.py
@jan-janssen
Copy link
Member Author

I tested the following and the CPU load remains close to zero:

from queue import Queue
print(Queue().get())

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