[Ffmpeg-devel] poll() emulation for ffserver
Wed Feb 14 14:56:25 CET 2007
> Hi all,
> On Wed, 2007-02-14 at 13:30 +0100, Fran?ois Revol wrote:
>> > On Tue, Feb 13, 2007 at 12:26:18PM +0100, Alex Beregszaszi wrote:
>> > >
>> > > > This adds a poll() emulation using select() for platforms that
>> > > > don't
>> > > > have it.
>> > > > BeOS is one of them, and I wonder if OS/2 or Cygwin have it.
>> > > > It's taken from Haiku (aka OpenBeOS, http://haiku-os.org )'s code
>> > > > which
>> > > > is under MIT licence.
> At the cost of being naive, I have to ask: why using poll() on some
> sytems, and select() on other systems? Cannot we always use select()?
> Or there are systems in which poll() exists and select() does not?
> (I am not complaining about the patch; I am just curious)
Cygwin has got both poll() and select()
More information about the ffmpeg-devel