Re: accessing newly-created files
Re: accessing newly-created files
- Subject: Re: accessing newly-created files
- From: Allan Odgaard <email@hidden>
- Date: Fri, 16 Apr 2004 03:54:38 +0200
On 16. Apr 2004, at 3:33, Louis C. Sacha wrote:
A thread is really overkill for this situation.
I would say the same thing about using knote and kevent() [...]
The other issue is whether checking for the existence of the file is
enough? [...]
Ehm... did any of you see my proposal about letting the program (which
generates the image) write to a named pipe?
Virtually nothing needs to be changed in his original program, he just
needs one call to mkfifo(). No threads, no kevent and the image is
loaded as soon as the data becomes available (even incrementally), so
no guessing, sleeping, or similar... :)
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.