Hacker News new | ask | show | jobs
by tcbrindle 651 days ago
> memory_order::relaxed < cv_status::timeout is true

No it isn't. https://godbolt.org/z/bz7EhMhMT

1 comments

I knew I should have checked that in Godbolt before posting it. You're correct, the types don't coerce and so this actually doesn't work.