r278274 - in /trunk/libstdc++-v3: ChangeLog inc...

rodgertq@gcc.gnu.org rodgertq@gcc.gnu.org
Fri Nov 15 03:09:00 GMT 2019


Author: rodgertq
Date: Fri Nov 15 03:09:19 2019
New Revision: 278274

URL: https://gcc.gnu.org/viewcvs?rev=278274&root=gcc&view=rev
Log:
Support for jthread and stop_token

        * include/Makefile.am: Add <stop_token> header.
        * include/Makefile.in: Regenerate.
        * include/std/condition_variable: Add overloads for stop_token support
        to condition_variable_any.
        * include/std/stop_token: New file.
        * include/std/thread: Add jthread type.
        * include/std/version (__cpp_lib_jthread): New value.
        * testsuite/30_threads/condition_variable_any/stop_token/1.cc: New test.
        * testsuite/30_threads/condition_variable_any/stop_token/2.cc: New test.
        * testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc: New test.
        * testsuite/30_threads/jthread/1.cc: New test.
        * testsuite/30_threads/jthread/2.cc: New test.
        * testsuite/30_threads/jthread/jthread.cc: New test.
        * testsuite/30_threads/stop_token/1.cc: New test.
        * testsuite/30_threads/stop_token/2.cc: New test.
        * testsuite/30_threads/stop_token/stop_token.cc: New test.

Added:
    trunk/libstdc++-v3/include/std/stop_token
    trunk/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/
    trunk/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/1.cc
    trunk/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/2.cc
    trunk/libstdc++-v3/testsuite/30_threads/condition_variable_any/stop_token/wait_on.cc
    trunk/libstdc++-v3/testsuite/30_threads/jthread/
    trunk/libstdc++-v3/testsuite/30_threads/jthread/1.cc
    trunk/libstdc++-v3/testsuite/30_threads/jthread/2.cc
    trunk/libstdc++-v3/testsuite/30_threads/jthread/jthread.cc
    trunk/libstdc++-v3/testsuite/30_threads/stop_token/
    trunk/libstdc++-v3/testsuite/30_threads/stop_token/1.cc
    trunk/libstdc++-v3/testsuite/30_threads/stop_token/2.cc
    trunk/libstdc++-v3/testsuite/30_threads/stop_token/stop_token.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/Makefile.am
    trunk/libstdc++-v3/include/Makefile.in
    trunk/libstdc++-v3/include/std/condition_variable
    trunk/libstdc++-v3/include/std/thread
    trunk/libstdc++-v3/include/std/version



More information about the Libstdc++-cvs mailing list