From f33050d6041f05669735d4a51fd47f574382865a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 17 Aug 2012 08:34:42 +0200 Subject: [PATCH] poll.2: Add pointer to select(2) for discussion of close in another thread Signed-off-by: Michael Kerrisk --- man2/poll.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man2/poll.2 b/man2/poll.2 index 87905e87b..efaed5b5d 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -28,7 +28,7 @@ .\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and .\" formatting changes. .\" -.TH POLL 2 2012-05-05 "Linux" "Linux Programmer's Manual" +.TH POLL 2 2012-08-17 "Linux" "Linux Programmer's Manual" .SH NAME poll, ppoll \- wait for some event on a file descriptor .SH SYNOPSIS @@ -340,6 +340,11 @@ with the value \-1 for use as a for .BR poll (). This constant is not provided in glibc. + +For a discussion of what may happen if a file descriptor being monitored by +.BR poll () +is closed in another thread, see +.BR select (2). .SS "Linux Notes" The Linux .BR ppoll ()