[all-commits] [llvm/llvm-project] 475e15: [libc++] Introduce make_test_jthread for jthread t...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Oct 13 10:55:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 475e154331af19f175ec082b08547b155bba1577
https://github.com/llvm/llvm-project/commit/475e154331af19f175ec082b08547b155bba1577
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths:
M libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp
M libcxx/test/std/thread/thread.jthread/cons.move.pass.cpp
M libcxx/test/std/thread/thread.jthread/detach.pass.cpp
M libcxx/test/std/thread/thread.jthread/dtor.pass.cpp
M libcxx/test/std/thread/thread.jthread/get_id.pass.cpp
M libcxx/test/std/thread/thread.jthread/get_stop_source.pass.cpp
M libcxx/test/std/thread/thread.jthread/get_stop_token.pass.cpp
M libcxx/test/std/thread/thread.jthread/join.deadlock.pass.cpp
M libcxx/test/std/thread/thread.jthread/join.pass.cpp
M libcxx/test/std/thread/thread.jthread/joinable.pass.cpp
M libcxx/test/std/thread/thread.jthread/request_stop.pass.cpp
M libcxx/test/std/thread/thread.jthread/swap.free.pass.cpp
M libcxx/test/std/thread/thread.jthread/swap.member.pass.cpp
M libcxx/test/support/make_test_thread.h
Log Message:
-----------
[libc++] Introduce make_test_jthread for jthread tests (#68837)
This patch introduces the support::make_test_jthread utility which is
basically the same as support::make_test_thread but for std::jthread. It
allows vendors to maintain a downstream way to create threads for use
within the test suite, which is especially useful for embedded
platforms.
More information about the All-commits
mailing list