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

External queue provided by another library/application in a multithreaded program #2536

Open
ystreet opened this issue Jun 2, 2024 · 0 comments

Comments

@ystreet
Copy link

ystreet commented Jun 2, 2024

Looking through the API. I see many from_handle functions that can wrap an external handle which is great. Looking at the Queue object:

  1. there is no public from_handle (FIXME in the code)
  2. there is a with which performs the necessary 'externally synchronised' locking for queue operations. The other part that is missing for an externally provided queue is being able to (optionally) also provide an external locking mechanism.
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