This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: BZ#15819: introduce internal function to ease poll retry with timeout
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 09 Dec 2014 15:55:04 -0200
- Subject: Re: BZ#15819: introduce internal function to ease poll retry with timeout
- Authentication-results: sourceware.org; auth=none
- References: <orioiiahsf dot fsf at free dot home> <20141113221831 dot D15A62C3B18 at topped-with-meat dot com> <or4mu2zfsf dot fsf at free dot home>
On Nov 14, 2014, Alexandre Oliva <aoliva@redhat.com> wrote:
> This revised patch fixes both of these issues, and it poisons __poll and
> poll at the end of include/poll-noeintr.h.
> Retested on x86_64-linux-gnu. Ok to install?
Ping?
https://sourceware.org/ml/libc-alpha/2014-11/msg00334.html
> for ChangeLog
> [BZ #15819]
> * NEWS: Update.
> * nis/nis_callback.c (internal_nis_do_callback): Call
> __poll_noeintr, drop TEMP_FAILURE_RETRY.
> * nscd/nscd_helper.c (wait_on_socket): Call __poll_noeintr,
> drop loop and gettimeofday timeout recomputation.
> * sunrpc/clnt_udp.c (clntudp_call): Call __poll_noeintr.
> * sunrpc/clnt_unix.c (readunix): Likewise.
> * sunrpc/rtime.c (rtime): Likewise.
> * sunrpc/svc_run.c (svc_run): Likewise.
> * sunrpc/svc_tcp.c (readtcp): Likewise.
> * sunrpc/svc_unix.c (readunix): Likewise.
> * include/poll-noeintr.h: New header, included instead of
> sys/poll.h in all of the above.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer