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

can i use readwritequeue? #155

Closed
arjen-Lee1993 opened this issue Apr 28, 2024 · 2 comments
Closed

can i use readwritequeue? #155

arjen-Lee1993 opened this issue Apr 28, 2024 · 2 comments

Comments

@arjen-Lee1993
Copy link

thread1: enqueue
thread2: dequeue & enqueue
can i use readwritequeue? or choose ConcurrentQueue?
thanks

@cameron314
Copy link
Owner

This is a case of two producers and one consumer, so you wouldn't be able to use ReaderWriterQueue.

@arjen-Lee1993
Copy link
Author

This is a case of two producers and one consumer, so you wouldn't be able to use ReaderWriterQueue.

got it, i'll try ConcurrentQueue.
thanks alot

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

2 participants