Am Montag, den 22.10.2007, 15:20 -0400 schrieb Frederich, Eric P21322:
> And as for the viewer updating...Should the program that is generating
> the graphics notify the viewer that the file has been updated through
> RMI?  Should the viewer periodically check the filesystem?
> Having an RMI client/server setup seems like overkill and checking the
> filesystem every second seems like a bad idea too.
> I've seen text editors that know when a file has been modified
> externally.  Any ideas how they work?

If you are targeting a Linux platform, you can probably make use of
inotify. With this, the kernel can notify your application when the file
has changed on disk.

Cheers,
Frederik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to