|
uvw 2.12.1
|
#include <thread.h>


Public Member Functions | |
| bool | wait () noexcept |
| Synchronizes at a barrier. | |
Public Member Functions inherited from uvw::UnderlyingType< Barrier, uv_barrier_t > | |
| Loop & | loop () const noexcept |
| Gets the loop from which the resource was originated. | |
| const uv_barrier_t * | raw () const noexcept |
| Gets the underlying raw data structure. | |
| uv_barrier_t * | raw () noexcept |
| Gets the underlying raw data structure. | |
Additional Inherited Members | |
Static Public Member Functions inherited from uvw::UnderlyingType< Barrier, uv_barrier_t > | |
| static std::shared_ptr< Barrier > | create (Args &&...args) |
| Creates a new resource of the given type. | |
The Barrier wrapper.
To create a Barrier through a Loop, arguments follow:
wait before any of them successfully return from the call. The value specified must be greater than zero.
|
noexcept |
Synchronizes at a barrier.