Re: poll(x, 0, -1) hangs
From: David Schwartz (davids_at_webmaster.com)
Date: Sat, 21 Feb 2004 14:17:10 -0800
"Timur Tabi" <email@example.com> wrote in message
> 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?