* [PATCH 1/2] signal.7: Don't mention that pthread API can return EINTR
@ 2025-01-03 17:38 Arkadiusz Drabczyk
2025-01-03 17:38 ` [PATCH 2/2] pthread_cond_init.3: Remove EINTR error code Arkadiusz Drabczyk
0 siblings, 1 reply; 3+ messages in thread
From: Arkadiusz Drabczyk @ 2025-01-03 17:38 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: Florian Weimer, mtk.manpages, linux-man, libc-help
In pthreads.7 it says:
"For each of the pthreads functions that can return an error,
POSIX.1-2001 specifies that the function can never fail with the error
EINTR."
Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Link: <https://lore.kernel.org/linux-man/Z3W_qgawqyEB-QrA@comp../>
---
man/man7/signal.7 | 4 ----
1 file changed, 4 deletions(-)
diff --git a/man/man7/signal.7 b/man/man7/signal.7
index d19f171b3..dd04c6d1a 100644
--- a/man/man7/signal.7
+++ b/man/man7/signal.7
@@ -753,10 +753,6 @@ beforehand, always failed with
.IP \[bu]
.BR getrandom (2).
.IP \[bu]
-.BR pthread_mutex_lock (3),
-.BR pthread_cond_wait (3),
-and related APIs.
-.IP \[bu]
.BR futex (2)
.BR FUTEX_WAIT_BITSET .
.IP \[bu]
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] pthread_cond_init.3: Remove EINTR error code
2025-01-03 17:38 [PATCH 1/2] signal.7: Don't mention that pthread API can return EINTR Arkadiusz Drabczyk
@ 2025-01-03 17:38 ` Arkadiusz Drabczyk
2025-01-04 20:14 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: Arkadiusz Drabczyk @ 2025-01-03 17:38 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: Florian Weimer, mtk.manpages, linux-man, libc-help
In pthreads.7 it says:
"For each of the pthreads functions that can return an error,
POSIX.1-2001 specifies that the function can never fail with the error
EINTR."
Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Link: <https://lore.kernel.org/linux-man/Z3W_qgawqyEB-QrA@comp../>
---
man/man3/pthread_cond_init.3 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/man/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3
index 658f390f6..15556219b 100644
--- a/man/man3/pthread_cond_init.3
+++ b/man/man3/pthread_cond_init.3
@@ -153,9 +153,6 @@ the following error codes on error:
\fBETIMEDOUT\fP
The condition variable was not signaled
until the timeout specified by \fIabstime\fP.
-.TP
-\fBEINTR\fP
-\fBpthread_cond_timedwait\fP was interrupted by a signal.
.RE
.P
The \fBpthread_cond_destroy\fP function returns
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] pthread_cond_init.3: Remove EINTR error code
2025-01-03 17:38 ` [PATCH 2/2] pthread_cond_init.3: Remove EINTR error code Arkadiusz Drabczyk
@ 2025-01-04 20:14 ` Alejandro Colomar
0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2025-01-04 20:14 UTC (permalink / raw)
To: Arkadiusz Drabczyk; +Cc: Florian Weimer, mtk.manpages, linux-man, libc-help
[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]
Hi Arkadiusz,
On Fri, Jan 03, 2025 at 06:38:16PM +0100, Arkadiusz Drabczyk wrote:
> In pthreads.7 it says:
>
> "For each of the pthreads functions that can return an error,
> POSIX.1-2001 specifies that the function can never fail with the error
> EINTR."
>
> Signed-off-by: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
>
> Link: <https://lore.kernel.org/linux-man/Z3W_qgawqyEB-QrA@comp../>
I have applied both patches. Thanks!
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=b21b7ef58e5ff367d78432a3af5af235c31e23af>
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=124f715bfce56727e8ac86989f07476bb345cf19>
Cheers,
Alex
> ---
> man/man3/pthread_cond_init.3 | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/man/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3
> index 658f390f6..15556219b 100644
> --- a/man/man3/pthread_cond_init.3
> +++ b/man/man3/pthread_cond_init.3
> @@ -153,9 +153,6 @@ the following error codes on error:
> \fBETIMEDOUT\fP
> The condition variable was not signaled
> until the timeout specified by \fIabstime\fP.
> -.TP
> -\fBEINTR\fP
> -\fBpthread_cond_timedwait\fP was interrupted by a signal.
> .RE
> .P
> The \fBpthread_cond_destroy\fP function returns
> --
> 2.45.2
>
--
<https://www.alejandro-colomar.es/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-04 20:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-03 17:38 [PATCH 1/2] signal.7: Don't mention that pthread API can return EINTR Arkadiusz Drabczyk
2025-01-03 17:38 ` [PATCH 2/2] pthread_cond_init.3: Remove EINTR error code Arkadiusz Drabczyk
2025-01-04 20:14 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox