Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: poll and stdin



Hi Ian,

thank you for letting me know that is an already known bug. Are there more
known bugs regarding poll and socket fd (unblocking/IPv6 or so)? I'm trying
to isolate a bug in combination with a kernel extension providing SCTP support
and poll(). I currently do not know if the problem is related to poll () or
the SCTP code...


Thank you very much for your help.

Best regards
Michael

On Apr 19, 2006, at 2:56 AM, Ian Lister wrote:

On Tue, 18 Apr 2006, Michael Tuexen wrote:
Is it a feature or a bug of Tiger that poll() does not support stdin?

It's an unfortunate but known bug in Tiger, introduced by switching poll() from an underlying select-based mechanism to a kqueue-based mechanism. Kqueue in OS X does not work on devices such as terminals (regardless of what file descriptor they're assigned). There's an issue with binary compatibility inside the kernel that prevented it being fixed in Tiger, but hopefully it can be sorted in Leopard because it's an ongoing headache.


Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/michael.tuexen% 40lurchi.franken.de


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >poll and stdin (From: Michael Tuexen <email@hidden>)
 >Re: poll and stdin (From: Ian Lister <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.