std::experimental::latch::wait - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::latch::wait

From cppreference.com
< cpp‎ | experimental‎ | latch

void wait() const; | (1) | (concurrency TS)

Blocks the calling thread until the internal counter reaches `0`. If it is zero already, returns immediately.

### [edit] Parameters

(none)

### [edit] Return value

(none)

### [edit] Exceptions

Throws nothing.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/latch/wait&oldid=82264"