std::experi...latch::wait(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 whole void situation, 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