Re: Add pselect, ppoll system calls.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
> To: Alan Cox <[email protected]>
> Cc: David Woodhouse <[email protected]>,
>     Linux Kernel Mailing List <[email protected]>, [email protected],
>     [email protected]
> 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 [email protected]
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux