This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 09/30] Introduce interruptible_select
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Mon, 21 Mar 2016 15:48:38 -0400
- Subject: Re: [PATCH 09/30] Introduce interruptible_select
- Authentication-results: sourceware.org; auth=none
- References: <1458328714-4938-1-git-send-email-palves at redhat dot com> <1458328714-4938-10-git-send-email-palves at redhat dot com>
On 16-03-18 03:18 PM, Pedro Alves wrote:
> +int
> +interruptible_select (int n,
> + fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
> + struct timeval *timeout)
> +{
> + fd_set my_readfds;
> + int fd;
Just a nit. For clarity, you could name this variable "quit_fd" instead of "fd".