[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] Module: poll
From: |
Bruno Haible |
Subject: |
Re: [Bug-gnulib] Module: poll |
Date: |
Mon, 10 Feb 2003 20:17:06 +0100 (CET) |
Paolo Bonzini writes:
> The attached files implement the poll(2) system call based on select. Is it
> ok, or is there anything I should fix in the implementation before writing
> the autoconf tests
gnulib is the right place for such an emulation, because poll(2) is a
more efficient API than select(2) when the process has a large number
of open file descriptors.
Before putting it in, it would be good if you would
- check / compare with glibc/sysdeps/unix/bsd/poll.c,
- use GNU indentation style.
Bruno