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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.4                        |12.0

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
For the record ...

(In reply to Thiago Macieira from comment #0)
> Here's a summary of the findings:
> 
>  1) everything is inline

No change here yet, it's intentional that nothing has been added to the library
for now.

>  2) futex code is still behind a lot of code calling into std::_Hash_bytes

That changed with r12-10-gb52aef3a8cbcc8

>  3) other int-sized (incl. enums) atomics don't use futex

So did that.

>  4) std::latch and std::counting_semaphore defaults preclude from using
>     futex on Linux

And that.

>  5) std::barrier implementation also uses a type that futex(2) can't handle

barrier still uses a 1-byte enum for the atomic waits.

Reply via email to