Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: poll and stdin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: poll and stdin



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:
This email sent to email@hidden


References: 
 >poll and stdin (From: Michael Tuexen <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.