-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Return value of bounded concurrent queue pop() #807
Comments
It always returns |
ok, thank you for the info |
Yes, it makes sense to mention somewhere, e.g. in release notes. I will follow up with the team. The next major version is also an option but there is no any plans about the next major version. |
During team discussion, we agreed that it is a bug that can be fixed without waiting for the major version. |
Hi everyone,
the OneAPI spec claims that concurrent bounded queue
pop()
function returnsvoid
:However, the implementation returns a
bool
:https://github.com/oneapi-src/oneTBB/blob/05023723ff17dc436668a989a5f2c1873e994e72/include/oneapi/tbb/concurrent_queue.h#L380
What is the purpose of this boolean return value? Thank you.
The text was updated successfully, but these errors were encountered: