Function rcl_wait_set_is_valid
Defined in File wait.h
Function Documentation
-
bool rcl_wait_set_is_valid(const rcl_wait_set_t *wait_set)
Return
true
if the wait set is valid, elsefalse
.A wait set is invalid if:
the implementation is
NULL
(rcl_wait_set_init not called or failed)the wait set has been finalized with rcl_wait_set_fini
Also return
false
if the wait set pointer isNULL
.Attribute
Adherence
Allocates Memory
No
Thread-Safe
No
Uses Atomics
No
Lock-Free
Yes
- Parameters:
wait_set – [in] the rcl_wait_set_t to be validated
- Returns:
true
if the wait_set is valid, otherwisefalse
.