Skip to content

Commit febfd18

Browse files
committed
Fix comments
1 parent e88d4ad commit febfd18

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/std/os/linux.zig

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,8 @@ pub fn futex2_waitv(
635635
}
636636

637637
/// Wait on a futex.
638-
/// Identical to `FUTEX.FUTEX_WAIT_BITSET`, except it is part of the futex2 family of calls.
638+
/// Identical to the traditional FUTEX_WAIT_BITSET op, except it is part of the
639+
/// futex2 familiy of calls.
639640
pub fn futex2_wait(
640641
/// Address of the futex to wait on.
641642
uaddr: *const anyopaque,
@@ -661,8 +662,9 @@ pub fn futex2_wait(
661662
);
662663
}
663664

664-
/// Wake a number of waiters.
665-
/// Identical to `FUTEX.FUTEX_WAKE_BITSET`, except it is part of the futex2 family of calls.
665+
/// Wake a number of futexes.
666+
/// Identical to the traditional FUTEX_WAKE_BITSET op, except it is part of the
667+
/// futex2 family of calls.
666668
pub fn futex2_wake(
667669
/// Address of the futex(es) to wake.
668670
uaddr: *const anyopaque,

0 commit comments

Comments
 (0)