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

From: David Schwartz (
Date: 02/21/04

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

"Timur Tabi" <> 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?