[haiku-development] Re: file modification watching

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 16 Aug 2011 16:27:24 +0200

On 2011-08-16 at 00:25:35 [+0200], Clemens <clemens.zeidler@xxxxxxxxxxxxxx> 
wrote:
> another (IMHO a bit hacky) solution would be to add a userland listener
> for open and close. The index server then watch files that have been
> opened writeable and do the node-entry mapping by itself.

The problem with open/close notifications is that there would be an awful 
lot of them. E.g. Tracker uses the storage kit classes a lot (which 
internally all use FDs), so it would probably generate thousands of 
notifications when just opening a window with a few hundred entries.

CU, Ingo

Other related posts: