[all-commits] [llvm/llvm-project] 477f6b: [libc++] Make `stop_token` experimental

Hui via All-commits all-commits at lists.llvm.org
Tue Jul 11 05:52:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 477f6bc407db14f6856420c6eb275747f8670758
      https://github.com/llvm/llvm-project/commit/477f6bc407db14f6856420c6eb275747f8670758
  Author: Hui <hui.xie0621 at gmail.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__stop_token/stop_callback.h
    M libcxx/include/__stop_token/stop_source.h
    M libcxx/include/__stop_token/stop_token.h
    M libcxx/test/libcxx/experimental/fexperimental-library.compile.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/nostopstate/cons.default.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/cons.const.token.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/cons.rvalue.token.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/copy.move.compile.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/ctad.compile.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/dtor.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopcallback/typedef.compile.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/assign.copy.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/cons.copy.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/cons.default.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/cons.move.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/cons.nostopstate.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/equals.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/get_token.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/move.copy.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/nodiscard.verify.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/request_stop.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/stop_possible.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/stop_requested.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/swap.free.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stopsource/swap.member.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/assign.copy.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/assign.move.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.copy.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.default.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/cons.move.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/equals.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/nodiscard.verify.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/stop_possible.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/stop_requested.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/swap.free.pass.cpp
    M libcxx/test/std/thread/thread.stoptoken/stoptoken/swap.member.pass.cpp
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [libc++] Make `stop_token` experimental

There are discussions about different ways of implementing `stop_token` to make it more performant
mark `stop_token` as experimental to allow us to change the design before it is shipped

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>

Differential Revision: https://reviews.llvm.org/D154700




More information about the All-commits mailing list