All of lore.kernel.org
 help / color / mirror / Atom feed
* Very confusing use of PID in man set_tid_address
@ 2014-07-06  3:44 Rich Felker
       [not found] ` <20140706034426.GM179-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Felker @ 2014-07-06  3:44 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages)
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

I'm pretty sure all uses of "PID" in the man page for set_tid_address
should instead read "TID". While the issue is present in many man
pages and should probably be fixed globally, this one is particularly
confusing because "TID" is also used in the function, argument, and
task attribute names to mean the exact same thing. The word "process"
is also used misleadingly, "For each process...".

The most important fix is to clarify that the return value is the TID
of the caller, not the PID. But I think it should just all be fixed.

Rich
--
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] 2+ messages in thread

end of thread, other threads:[~2014-07-07  4:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-06  3:44 Very confusing use of PID in man set_tid_address Rich Felker
     [not found] ` <20140706034426.GM179-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2014-07-07  4:57   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.