[freetds] reportedly: poll(2) slow on OS X

Craig A. Berry craigberry at mac.com
Thu Jan 29 13:05:22 EST 2009


On Jan 27, 2009, at 12:12 PM, Christos Zoulas wrote:

> On Jan 25,  4:35pm, jklowden at freetds.org ("James K. Lowden") wrote:
> -- Subject: [freetds] reportedly: poll(2) slow on OS X
>
> | http://lists.apple.com/archives/Unix-porting/2008/Nov/msg00059.html
> |
> | Thought this was interesting.  Haven't been able to confirm.
>
> It is correct. OS/X needs to fix its poll...

In the Perl sources there is a poll() emulation implemented in terms  
of select() if that's of interest to anybody:

http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/ext/IO/poll.c

No doubt there are other home-grown implementations kicking around as  
well.


________________________________________
Craig A. Berry
mailto:craigberry at mac.com

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser




More information about the FreeTDS mailing list