Messages in this thread | | | Date | Sun, 12 Jun 2005 18:16:43 -0700 (MST) | From | jnf <> | Subject | Re: Add pselect, ppoll system calls. |
| |
Hi. I realize this is off subject to the mailing list, however its not really off subject to the thread. What is the suggested method for dealing with this? i.e. catching sigint which sets a global variable and then having select() inside the loop, i.e.
while (boolean < 1 ) { [...] select(...); [...] }
regards,
jnf
On Sun, 12 Jun 2005, Linus Torvalds wrote:
> Date: Sun, 12 Jun 2005 17:26:43 -0700 (PDT) > From: Linus Torvalds <torvalds@osdl.org> > To: Alan Cox <alan@lxorguk.ukuu.org.uk> > Cc: David Woodhouse <dwmw2@infradead.org>, > Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, akpm@osdl.org, > drepper@redhat.com > Subject: Re: Add pselect, ppoll system calls. > > > > On Sun, 12 Jun 2005, Alan Cox wrote: > > > > If glibc has a race why not just fix glibc ? > > .. because glibc tries to implement the "pselect()" interfaces that some > other OS's implement. > > Whether that is a good idea or not (it's not) is a different issue, but > basically it means that apps don't use the longjmp trick exactly because > they think pselect() works ok. > > Linus > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |