• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: accessing newly-created files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: accessing newly-created files
      • From: "David Piasecki" <email@hidden>
References: 
 >accessing newly-created files (From: "David Piasecki" <email@hidden>)
 >Re: accessing newly-created files (From: "Louis C. Sacha" <email@hidden>)
 >Re: accessing newly-created files (From: Brian Bergstrand <email@hidden>)
 >Re: accessing newly-created files (From: "Louis C. Sacha" <email@hidden>)

  • Prev by Date: Re: accessing newly-created files
  • Next by Date: Properly Releasing NSWindows
  • Previous by thread: Re: accessing newly-created files
  • Next by thread: Re: accessing newly-created files
  • Index(es):
    • Date
    • Thread