libstdc++: Fix return values for atomic wait on futex
authorJonathan Wakely <jwakely@redhat.com>
Tue, 28 Sep 2021 19:41:46 +0000 (20:41 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 28 Sep 2021 20:27:04 +0000 (21:27 +0100)
commit2fcfc7d66862c67677f0e1c46391292d5a21a567
treef3c0cf9c37668de4fe62de57c60aeeecd61610c5
parent26c09ae12d212edcc1cdaf705aab3b3a52597362
libstdc++: Fix return values for atomic wait on futex

This fixes a logic error in the futex-based timed wait.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/atomic_timed_wait.h (__platform_wait_until_impl):
Return false for ETIMEDOUT and true otherwise.
libstdc++-v3/include/bits/atomic_timed_wait.h