|
From: Tom H. <to...@co...> - 2005-07-25 15:23:06
|
In message <1122304763.4591.6.camel@localhost>
John McCutchan <tt...@te...> wrote:
> On Mon, 2005-07-25 at 16:10 +0100, Tom Hughes wrote:
>
>> I've updated our lists of system call numbers, and I'm just fixing up
>> a couple of things in your patch before committing it but I notice
>> that you've marked inotify_init as a blocking call but it doesn't look
>> like it should block. Can you clarify when it will block?
>
> :), I really didn't know what I was doing, but sys_open, and sys_futex
> (both which can create fd's like inotify_init) say they might block. So,
> I was trying to be conservative and added that.
Both open and futex can block - open if you are opening a pipe or
device or a network mounted file or something like that and futex
because that is it's job in life ;-)
I've committed inotify support based on your patch now anyway.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|