std::experi...latch::wait(3)
π NAME π
okay bestie, welcome to the manual page for std::experi...latch::wait(3) β from the C++ Standard Libary manual (yes, that spelling is exactly what the manual name says, we are not fixing it, periodt π
).
The star of the show is std::experimental::latch::wait β aka std::experimental::latch::wait again, because this page literally gives the name twice and we respect the lore πβ¨
β¨ Synopsis β¨
void wait() const; (1) (concurrency TS)
This one blocks the calling thread until the internal counter reaches 0. And if itβs zero already? It returns immediately β no waiting, no drama, just vibes π«Ά
π Parameters π
(none)β literally no parameters, nothing to pass in, she takes zero args π
π Return value π
(none)β returns nothing, itβs a wholevoidsituation, and thatβs iconic β¨
π Exceptions π
Throws nothing. Not one exception. Absolutely nothing is thrown. Clean, calm, collected π
xoxo, your Unix bestie π§π β source/version: cppreference.com, date: 2024.06.10 π
π¦ 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