Signal an object.
zx_status_t zx_object_signal(zx_handle_t handle,
zx_object_signal() asserts and deasserts the userspace-accessible signal
bits on an object.
Most of the 32 signals are reserved for system use and are assigned to
per-object functions, like
are 8 signal bits available for userspace processes to use as they see fit:
Event objects also allow control over the
Eventpair objects also allow control over the
The clear_mask is first used to clear any bits indicated, and then the set_mask is used to set any bits indicated.
handle must have
ZX_OK on success. In the event of failure, a
negative error value is returned.
ZX_ERR_BAD_HANDLE handle is not a valid handle.
ZX_ERR_ACCESS_DENIED handle lacks the right
ZX_ERR_INVALID_ARGS clear_mask or set_mask contain bits that are not allowed.