On Sat, May 19, 2012 at 8:31 AM, linux8192 <[email protected]> wrote:
>
> Hi all
>
> I found following comment in deps/uv/src/unix/linux.c:
>
>   /*
>    * TODO share a single inotify fd across the event loop?
>    * We'll run into fs.inotify.max_user_instances if we
>    * keep creating new inotify fds.
>    */
>
> And the current implementation of fs module supports multi-watchers on one
> file(or directory) by using fs.watch().
> If we share a single inotify fd across the event loop, the watchers that
> have same filename cannot be add by inotify_add_watch successfully.
> So what is the schedule of this part ?
> If i want to do related contribution, it there any plan to follow ?

It's already implemented in libuv and node master. I've filed a bug
report on the 'two watchers, one path' issue[1]. Should be pretty
trivial to fix.

[1] https://github.com/joyent/libuv/issues/420

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to