This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Private Function
Returns a correctly-typed pointer to the Io.Group.state field. The double-pointer here is intentional, because the state field itself stores a pointer, and this function returns a pointer to that field.
On completion of the whole group, if status indicates that there is an awaiter, the last task must increment this u32 and do a futex wake on it to signal that awaiter.
Returns a correctly-typed pointer to the
Io.Group.statefield. The double-pointer here is intentional, because thestatefield itself stores a pointer, and this function returns a pointer to that field.On completion of the whole group, if
statusindicates that there is an awaiter, the last task must increment thisu32and do a futex wake on it to signal that awaiter.