@@ -408,8 +408,8 @@ pub unsafe fn sigaltstack(new: Option<Stack>) -> io::Result<Stack> {
408408/// # Safety
409409///
410410/// You're on your own. And on top of all the troubles with signal handlers,
411- /// this implementation is highly experimental. The warning about the hazard
412- /// of recycled thread ID's applies.
411+ /// this implementation is highly experimental. Also, this is not `tgkill`, so
412+ /// the warning about the hazard of recycled thread ID's applies.
413413///
414414/// # References
415415/// - [Linux]
@@ -420,7 +420,7 @@ pub unsafe fn tkill(tid: Pid, sig: Signal) -> io::Result<()> {
420420 backend:: runtime:: syscalls:: tkill ( tid, sig)
421421}
422422
423- /// `sigprocmask (how, set, oldset)`—Adjust the process signal mask.
423+ /// `rt_sigprocmask (how, set, oldset)`—Adjust the process signal mask.
424424///
425425/// # Safety
426426///
@@ -429,10 +429,10 @@ pub unsafe fn tkill(tid: Pid, sig: Signal) -> io::Result<()> {
429429/// the libc `sigprocmask` in several non-obvious and unsafe ways.
430430///
431431/// # References
432- /// - [Linux `sigprocmask `]
432+ /// - [Linux `rt_sigprocmask `]
433433/// - [Linux `pthread_sigmask`]
434434///
435- /// [Linux `sigprocmask `]: https://man7.org/linux/man-pages/man2/sigprocmask .2.html
435+ /// [Linux `rt_sigprocmask `]: https://man7.org/linux/man-pages/man2/rt_sigprocmask .2.html
436436/// [Linux `pthread_sigmask`]: https://man7.org/linux/man-pages/man3/pthread_sigmask.3.html
437437#[ inline]
438438#[ doc( alias = "pthread_sigmask" ) ]
0 commit comments