libstdc++: Update value of __cpp_lib_jthread macro
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 21:54:34 +0000 (22:54 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 21:54:34 +0000 (22:54 +0100)
commitaa12ab2e93b6fd7c0c5292504b0bbe2dd304e5ed
treea084f64664f0d9aac7d2929363322eaec52568b8
parent72d0ef73d2cd46bda2f28e1866d637cfe8edb208
libstdc++: Update value of __cpp_lib_jthread macro

* include/std/condition_variable (__cpp_lib_jthread): Remove
redundant definition.
* include/std/stop_token (__cpp_lib_jthread): Update macro value to
indicate P1869R1 support.
* include/std/version (__cpp_lib_jthread): Update value.
* testsuite/30_threads/condition_variable_any/stop_token/1.cc: Check
for updated macro value.
* testsuite/30_threads/condition_variable_any/stop_token/2.cc:
Likewise.
* testsuite/30_threads/jthread/1.cc: Likewise.
* testsuite/30_threads/jthread/2.cc: Likewise.
* testsuite/30_threads/stop_token/1.cc: Likewise.
* testsuite/30_threads/stop_token/2.cc: Likewise.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/condition_variable
libstdc++-v3/include/std/stop_token
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/1.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/2.cc
libstdc++-v3/testsuite/30_threads/jthread/1.cc
libstdc++-v3/testsuite/30_threads/jthread/2.cc
libstdc++-v3/testsuite/30_threads/stop_token/1.cc
libstdc++-v3/testsuite/30_threads/stop_token/2.cc