libstdc++: Add support for C++20 barriers
authorThomas Rodgers <trodgers@redhat.com>
Thu, 7 Jan 2021 20:07:06 +0000 (12:07 -0800)
committerThomas Rodgers <trodgers@redhat.com>
Thu, 7 Jan 2021 20:52:37 +0000 (12:52 -0800)
commitb7c3f201be582553f9e3506536aa406bbd7ee71c
tree6e070a70358a6df1db144dbf6abec1d7634a7a15
parent0677759f753d321bde52d7343227f842b7e759d2
libstdc++: Add support for C++20 barriers

Adds <barrier>

libstdc++-v3/ChangeLog:

* doc/doxygen/user.cfg.in: Add new header.
* include/Makefile.am (std_headers): likewise.
* include/Makefile.in: Regenerate.
* include/precompiled/stdc++.h: Add new header.
* include/std/barrier: New file.
* include/std/version: Add __cpp_lib_barrier feature test macro.
* testsuite/30_threads/barrier/1.cc: New test.
* testsuite/30_threads/barrier/2.cc: Likewise.
* testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
* testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
* testsuite/30_threads/barrier/arrive.cc: Likewise.
* testsuite/30_threads/barrier/completion.cc: Likewise.
12 files changed:
libstdc++-v3/doc/doxygen/user.cfg.in
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/precompiled/stdc++.h
libstdc++-v3/include/std/barrier [new file with mode: 0644]
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/30_threads/barrier/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/barrier/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/barrier/arrive.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/barrier/arrive_and_drop.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/barrier/arrive_and_wait.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/barrier/completion.cc [new file with mode: 0644]