discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little help for GWorkspace


From: Helge Hess
Subject: Re: A little help for GWorkspace
Date: Fri, 12 Jan 2001 12:55:27 +0100

Hi,

in some Unixes (AFAIK in Irix) you have a 'file/directory change
notification service'. You basically have API to let the OS send you
notifications if some files/dirs changed.

Somewhat like:

  [fileManager watchPath:@"/tmp"
               observer:self
               selector:@selector(pathChanged:)];

This could be done using a daemon which implements a timer and sends out
notifications (eg using NSDistributedNotificationCenter). One advantage
would be, that this daemon only needs to run stat once if multiple
applications are watching the same path.

Greetings
  Helge
-- 
SKYRIX Software AG  http://www.skyrix.com/
Join the team:      http://www.skyrix.com/de/jobs/index.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]