It shall be "the calling thread" instead of "calling process" on the manual page of "usleep()". "The usleep() function suspends execution of the calling process until ..." https://www.freebsd.org/cgi/man.cgi?usleep(3)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4956af2a8f0d7723cb09c98e7f5295b156136f70 commit 4956af2a8f0d7723cb09c98e7f5295b156136f70 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-02-11 03:49:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-11 03:52:55 +0000 usleep(3): replace 'process' with 'calling thread' PR: 253395 Reported by: zegang.luo@qq.com MFC after: 3 days Sponsored by: The FreeBSD Foundation lib/libc/gen/usleep.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f94e8beadbd82f758c7663cb7115aeec2fbed7fa commit f94e8beadbd82f758c7663cb7115aeec2fbed7fa Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-02-11 03:49:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-14 00:45:49 +0000 usleep(3): replace 'process' with 'calling thread' PR: 253395 (cherry picked from commit 4956af2a8f0d7723cb09c98e7f5295b156136f70) lib/libc/gen/usleep.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5357bd228fca092453c0970ccb54fc08f5deb939 commit 5357bd228fca092453c0970ccb54fc08f5deb939 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-02-11 03:49:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-14 00:46:42 +0000 usleep(3): replace 'process' with 'calling thread' PR: 253395 (cherry picked from commit 4956af2a8f0d7723cb09c98e7f5295b156136f70) lib/libc/gen/usleep.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
There are three commits that reference this PR (comment #1, comment #2, comment #3). Do the commits resolve the issue? Can this PR be closed?