Re: kqueue, poll and file descriptor types
Re: kqueue, poll and file descriptor types
- Subject: Re: kqueue, poll and file descriptor types
- From: Shantonu Sen <email@hidden>
- Date: Mon, 24 Oct 2011 09:32:09 -0700
In the abstract, the statement is true (is this a homework question or something?) Filesystems can have varying levels of support, as can character devices (especially kexts external to the kernel that register custom dev nodes).
In practice, the main complaint has traditionally been the lack of kqueue support for TTYs, which was resolved in Lion.
Shantonu Sen
email@hidden
On Oct 24, 2011, at 9:03 AM, Joel Reymont wrote:
>
> On Oct 24, 2011, at 5:01 PM, AM wrote:
>
>>
>>> What about the BUGS sections of kqueue:
>>>
>>> Not all filesystem types support kqueue-style notifications. And even some that do, like some
>>> remote filesystems, may only support a subset of the notification semantics described here.
>>
>> That refers to vnode-watching which select() doesn't support anyway, so that's not it.
>
> Fair.
>
>>>
>>> and poll:
>>>
>>> The poll() system call currently does not support devices.
>>
>> As far as I am aware, select() and poll() are strict subsets feature-wise of kqueue, so I would be very curious to find a counter example.
>
>
> So what about devices in BUGS for poll?
>
> --------------------------------------------------------------------------
> - for hire: mac osx device driver ninja, kernel extensions and usb drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------
>
> _______________________________________________
> 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
_______________________________________________
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