Re: [PATCH] pthread_atfork.3: Remove a confusing reference to the current thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arjun,

On 4/12/22 15:55, Arjun Shankar wrote:
The reference to "this thread" in the DESCRIPTION of pthread_atfork(3)
could be incorrectly interpreted to mean that only handlers registered
by the thread calling fork(2) are executed.  Therefore, remove the
reference.

Signed-off-by: Arjun Shankar <arjun@xxxxxxxxxx>

I already applied a different patch recently. See <http://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/man3/pthread_atfork.3?id=f30deb08a9a0db95a3d6b4d00c0927fb43928cc4>.

If you think that can be improved, please send a patch on top of the main branch in that repo.

Thanks,

Alex
---
  man3/pthread_atfork.3 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/pthread_atfork.3 b/man3/pthread_atfork.3
index b727cb48e..db5e210d4 100644
--- a/man3/pthread_atfork.3
+++ b/man3/pthread_atfork.3
@@ -39,7 +39,7 @@ The
  .BR pthread_atfork ()
  function registers fork handlers that are to be executed when
  .BR fork (2)
-is called by this thread.
+is called.
  The handlers are executed in the context of the thread that calls
  .BR fork (2).
  .PP


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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux