uvw 2.12.1
|
#include <thread.h>
Public Member Functions | |
bool | wait () noexcept |
Synchronizes at a barrier. | |
![]() | |
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 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.