Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. syscall_defs
  6. wait_group_add

wait_group_add

Function wait_group_add 

Source
pub unsafe extern "C" fn wait_group_add(
    wait_group: u32,
    object: u32,
    signal_mask: Signals,
    user_data: usize,
) -> isize
Expand 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