Re: poll(x, 0, -1) hangs

From: David Schwartz (davids_at_webmaster.com)
Date: 02/21/04


Date: Sat, 21 Feb 2004 14:17:10 -0800


"Timur Tabi" <nospam_timur@tabi.org> wrote in message
news:53bb806a.0402211404.238209d5@posting.google.com...

> When I call the poll() API with zero as the second parameter (the
> number of file descriptors that I'm passing), the poll() call hangs.
> It only returns when I send a signal to the thread. Is this what's
> supposed to happen?

    What behavior would you expect?

    DS