[libc++] Implement `stop_token`
authorHui <hui.xie0621@gmail.com>
Wed, 17 May 2023 12:22:23 +0000 (13:22 +0100)
committerHui <hui.xie0621@gmail.com>
Mon, 5 Jun 2023 14:10:36 +0000 (15:10 +0100)
commitb77e50e6aef5650d1ce0ce7ad1a41049395b9426
treebb34299ac5b2acbfe7eac689f3d834b7ba70bb38
parent8b7f379dc832fa5ca8fdbcfc723279be8e42a2a2
[libc++] Implement `stop_token`

Implement stop_token
http://eel.is/c++draft/thread.stoptoken
54 files changed:
libcxx/docs/Status/Cxx20.rst
libcxx/docs/Status/Cxx20Issues.csv
libcxx/docs/Status/Cxx20Papers.csv
libcxx/include/CMakeLists.txt
libcxx/include/__stop_token/atomic_unique_lock.h
libcxx/include/__stop_token/stop_callback.h [new file with mode: 0644]
libcxx/include/__stop_token/stop_source.h [new file with mode: 0644]
libcxx/include/__stop_token/stop_state.h [new file with mode: 0644]
libcxx/include/__stop_token/stop_token.h [new file with mode: 0644]
libcxx/include/module.modulemap.in
libcxx/include/stop_token [new file with mode: 0644]
libcxx/test/libcxx/transitive_includes.sh.cpp
libcxx/test/libcxx/transitive_includes/cxx03.csv
libcxx/test/libcxx/transitive_includes/cxx11.csv
libcxx/test/libcxx/transitive_includes/cxx14.csv
libcxx/test/libcxx/transitive_includes/cxx17.csv
libcxx/test/libcxx/transitive_includes/cxx20.csv
libcxx/test/libcxx/transitive_includes/cxx23.csv
libcxx/test/libcxx/transitive_includes/cxx26.csv
libcxx/test/std/language.support/support.limits/support.limits.general/stop_token.version.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/nostopstate/cons.default.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/cons.const.token.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/cons.rvalue.token.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/copy.move.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/ctad.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/dtor.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopcallback/typedef.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/assign.copy.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/cons.copy.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/cons.default.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/cons.move.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/cons.nostopstate.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/equals.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/get_token.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/move.copy.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/nodiscard.verify.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/request_stop.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/stop_possible.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/stop_requested.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/swap.free.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stopsource/swap.member.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/assign.copy.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/assign.move.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.copy.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.default.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.move.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/equals.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/nodiscard.verify.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/stop_possible.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/stop_requested.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/swap.free.pass.cpp [new file with mode: 0644]
libcxx/test/std/thread/thread.stoptoken/stoptoken/swap.member.pass.cpp [new file with mode: 0644]
libcxx/utils/generate_feature_test_macro_components.py
libcxx/utils/libcxx/test/header_information.py