std::experi...own_and_wait(3)
π NAME π
okay so this is the C++ Standard Libary man page, section (3), for std::experimental::latch::count_down_and_wait β and yes bestie, the NAME section is literally saying the same thing twice: std::experimental::latch::count_down_and_wait β std::experimental::latch::count_down_and_wait. iconic.
β¨ Synopsis β¨
void count_down_and_wait(); (1) (concurrency TS)
Atomically decrements the internal counter by 1 and (if necessary) blocks the calling thread until the counter reaches zero.
π¨ The behavior is undefined if the internal counter is already zero. not "oops try again" undefined β actually undefined, so do not do that, fr fr.
This operation synchronizes with all calls that block on this latch and all is_ready calls on this latch that returns true.
π Parameters π
(none) β she takes no arguments, periodt.
πΈ Return value πΈ
(none) β no return value, she's just doing the thing.
π¦ Exceptions π¦
Throws nothing. literally nothing.
okay bye bestie π source: http://cppreference.com β’ date: 2024.06.10 β’ page: std::experi...own_and_wait(3)
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms