pub unsafe extern "C" fn wait_group_add(
wait_group: u32,
object: u32,
signal_mask: Signals,
user_data: usize,
) -> isizeExpand description
Adds an object to a wait group
Add object to wait_group. wait_group will signal when one of the
signals in signal_mask is raised on object. user_data is passed,
untouched by the kernel to the return value of object_wait().
The order in which the object is added does not affect the order in
which objects in the wait_group are signaled.
§Returns
0: Success
Error::InvalidArgument:wait_groupis not a valid wait group orobjectis not a valid object.Error::ResourceExhausted:objectis already in a wait group.