https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107886

--- Comment #6 from Jamaika <lukaszcz18 at wp dot pl> ---
I don't understand something. Why _GLIBCXX_HAS_GTHREADS works for std::jthread
but not for std::latch
```
#if defined _GLIBCXX_HAS_GTHREADS || defined _GLIBCXX_HAVE_LINUX_FUTEX
# define __cpp_lib_atomic_wait 201907L
# if __cpp_aligned_new
# define __cpp_lib_barrier 201907L
# endif
#endif
```

Reply via email to