-
This code seems to block forever under MSVC, but returns successfully under
It is said here that
I thought that But by checking the source code, it seems that the STL implementation for Is this a bug in STL? Or what am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks, it looks like a bug for me. https://eel.is/c++draft/util.smartptr.atomic.shared#lib:wait,atomic%3cshared_ptr%3cT%3e%3e
By the way LLVM libc++ doesn't implement |
Beta Was this translation helpful? Give feedback.
Thanks, it looks like a bug for me. https://eel.is/c++draft/util.smartptr.atomic.shared#lib:wait,atomic%3cshared_ptr%3cT%3e%3e