linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] futex.2: tfix
@ 2020-11-21 21:08 Jing Peng
  2020-11-21 21:25 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 8+ messages in thread
From: Jing Peng @ 2020-11-21 21:08 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

In the comment of the example program, the peer blocks on fwait()
rather than fpost().

Signed-off-by: Jing Peng <pj.hades@gmail.com>
---
 man2/futex.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/futex.2 b/man2/futex.2
index 76c89f16c..5e006784f 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1809,7 +1809,7 @@ fwait(uint32_t *futexp)

 /* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently
    has the value 0, set its value to 1 and the wake any futex waiters,
-   so that if the peer is blocked in fpost(), it can proceed. */
+   so that if the peer is blocked in fwait(), it can proceed. */

 static void
 fpost(uint32_t *futexp)
--
2.29.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] futex.2: tfix
  2020-11-21 21:08 [PATCH] futex.2: tfix Jing Peng
@ 2020-11-21 21:25 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-11-21 21:25 UTC (permalink / raw)
  To: Jing Peng; +Cc: mtk.manpages, linux-man

On 11/21/20 10:08 PM, Jing Peng wrote:
> In the comment of the example program, the peer blocks on fwait()
> rather than fpost().
> 
> Signed-off-by: Jing Peng <pj.hades@gmail.com>

Thanks, Jing Peng! Patch applied.

Cheers,

Michael

> ---
>  man2/futex.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/futex.2 b/man2/futex.2
> index 76c89f16c..5e006784f 100644
> --- a/man2/futex.2
> +++ b/man2/futex.2
> @@ -1809,7 +1809,7 @@ fwait(uint32_t *futexp)
> 
>  /* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently
>     has the value 0, set its value to 1 and the wake any futex waiters,
> -   so that if the peer is blocked in fpost(), it can proceed. */
> +   so that if the peer is blocked in fwait(), it can proceed. */
> 
>  static void
>  fpost(uint32_t *futexp)
> --
> 2.29.1
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [patch] futex.2: tfix
  2022-03-03 14:08 [patch] " Davide Benini
@ 2022-03-06 17:39 ` Alejandro Colomar (man-pages)
  0 siblings, 0 replies; 8+ messages in thread
From: Alejandro Colomar (man-pages) @ 2022-03-06 17:39 UTC (permalink / raw)
  To: Davide Benini; +Cc: mtk.manpages, linux-man

Hi Davide,

On 3/3/22 15:08, Davide Benini wrote:
> ---

Patch applied.

Thanks,

Alex

>  man2/futex.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/futex.2 b/man2/futex.2
> index 1dd77ac2f..d2a99b2d3 100644
> --- a/man2/futex.2
> +++ b/man2/futex.2
> @@ -1854,7 +1854,7 @@ fwait(uint32_t *futexp)
>  }
>  
>  /* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently
> -   has the value 0, set its value to 1 and the wake any futex waiters,
> +   has the value 0, set its value to 1 and then wake any futex waiters,
>     so that if the peer is blocked in fwait(), it can proceed. */
>  
>  static void

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [patch] futex.2: tfix
@ 2022-03-03 14:08 Davide Benini
  2022-03-06 17:39 ` Alejandro Colomar (man-pages)
  0 siblings, 1 reply; 8+ messages in thread
From: Davide Benini @ 2022-03-03 14:08 UTC (permalink / raw)
  To: linux-man; +Cc: alx.manpages, mtk.manpages, Davide Benini

---
 man2/futex.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/futex.2 b/man2/futex.2
index 1dd77ac2f..d2a99b2d3 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1854,7 +1854,7 @@ fwait(uint32_t *futexp)
 }
 
 /* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently
-   has the value 0, set its value to 1 and the wake any futex waiters,
+   has the value 0, set its value to 1 and then wake any futex waiters,
    so that if the peer is blocked in fwait(), it can proceed. */
 
 static void
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] futex.2: tfix
  2021-02-20 20:12 [PATCH] " edef
@ 2021-02-20 21:47 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-02-20 21:47 UTC (permalink / raw)
  To: edef, linux-man; +Cc: mtk.manpages

Hi,

On 2/20/21 9:12 PM, edef wrote:
> Signed-off-by: edef <edef@edef.eu>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man2/futex.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/futex.2 b/man2/futex.2
> index 60b3e08dd..e698178d2 100644
> --- a/man2/futex.2
> +++ b/man2/futex.2
> @@ -1573,7 +1573,7 @@ and the kernel state;
>  that is, the kernel detected a waiter which waits via
>  .BR FUTEX_WAIT
>  or
> -.BR FUTEX_WAIT_BITESET
> +.BR FUTEX_WAIT_BITSET
>  on
>  .IR uaddr .
>  .TP
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] futex.2: tfix
@ 2021-02-20 20:12 edef
  2021-02-20 21:47 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 8+ messages in thread
From: edef @ 2021-02-20 20:12 UTC (permalink / raw)
  To: linux-man; +Cc: mtk.manpages, edef

Signed-off-by: edef <edef@edef.eu>
---
 man2/futex.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/futex.2 b/man2/futex.2
index 60b3e08dd..e698178d2 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -1573,7 +1573,7 @@ and the kernel state;
 that is, the kernel detected a waiter which waits via
 .BR FUTEX_WAIT
 or
-.BR FUTEX_WAIT_BITESET
+.BR FUTEX_WAIT_BITSET
 on
 .IR uaddr .
 .TP
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] futex.2: tfix
       [not found] ` <1427653404-26501-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
@ 2015-04-11  6:55   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-04-11  6:55 UTC (permalink / raw)
  To: Heinrich Schuchardt
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

On 03/29/2015 08:23 PM, Heinrich Schuchardt wrote:
> Signed-off-by: Heinrich Schuchardt <xypron.glpk-Mmb7MZpHnFY@public.gmane.org>

Thanks, Heinrich. Applied.

Cheers,

Michael



> ---
>  man2/futex.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/futex.2 b/man2/futex.2
> index 0959ca0..b4a52b1 100644
> --- a/man2/futex.2
> +++ b/man2/futex.2
> @@ -44,7 +44,7 @@ system call provides a method for waiting until a certain condition becomes
>  true.
>  It is typically used as a blocking construct in the context of
>  shared-memory synchronization: The program implements the majority of
> -the synchronization in user space, and uses one of operations of
> +the synchronization in user space, and uses one of the operations of
>  the system call when it is likely that it has to block for
>  a longer time until the condition becomes true.
>  The program uses another operation of the system call to wake
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] futex.2: tfix
@ 2015-03-29 18:23 Heinrich Schuchardt
       [not found] ` <1427653404-26501-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Heinrich Schuchardt @ 2015-03-29 18:23 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Heinrich Schuchardt

Signed-off-by: Heinrich Schuchardt <xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
---
 man2/futex.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/futex.2 b/man2/futex.2
index 0959ca0..b4a52b1 100644
--- a/man2/futex.2
+++ b/man2/futex.2
@@ -44,7 +44,7 @@ system call provides a method for waiting until a certain condition becomes
 true.
 It is typically used as a blocking construct in the context of
 shared-memory synchronization: The program implements the majority of
-the synchronization in user space, and uses one of operations of
+the synchronization in user space, and uses one of the operations of
 the system call when it is likely that it has to block for
 a longer time until the condition becomes true.
 The program uses another operation of the system call to wake
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-06 17:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 21:08 [PATCH] futex.2: tfix Jing Peng
2020-11-21 21:25 ` Michael Kerrisk (man-pages)
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03 14:08 [patch] " Davide Benini
2022-03-06 17:39 ` Alejandro Colomar (man-pages)
2021-02-20 20:12 [PATCH] " edef
2021-02-20 21:47 ` Michael Kerrisk (man-pages)
2015-03-29 18:23 Heinrich Schuchardt
     [not found] ` <1427653404-26501-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
2015-04-11  6:55   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).