Mark de Wever
0a1317564a
[libc++] Adds a global private constructor tag. ( #87920 )
...
This removes the similar tags used in the chrono tzdb implementation.
Fixes: https://github.com/llvm/llvm-project/issues/85432
2024-04-10 20:34:58 +02:00
Hui
4fa812bb52
[libc++] Implement std::condition_variable_any::wait[_for/until] overloads that take stop_token
...
- This is section 32.6.4 of P0660R10
- https://eel.is/c++draft/thread.condvarany.intwait
Differential Revision: https://reviews.llvm.org/D153441
2023-09-29 13:50:16 +01:00
Hui
695138ca84
[libc++] implement std::jthread
2023-09-16 19:54:19 +01:00
Nikolas Klauser
1e24b4d3fd
[libc++] Fix template parameter naming and enforce it through readability-identifier-naming
...
Reviewed By: #libc, Mordante
Spies: Mordante, aheejin, libcxx-commits
Differential Revision: https://reviews.llvm.org/D156059
2023-07-24 19:54:12 -07:00
Hui
477f6bc407
[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@gmail.com>
Differential Revision: https://reviews.llvm.org/D154700
2023-07-11 08:52:31 -04:00
Hui
b77e50e6ae
[libc++] Implement stop_token
...
Implement stop_token
http://eel.is/c++draft/thread.stoptoken
2023-06-05 15:10:36 +01:00