• 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: Detaching a thread to save a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detaching a thread to save a file?


  • Subject: Re: Detaching a thread to save a file?
  • From: Jim Correia <email@hidden>
  • Date: Fri, 11 Dec 2009 22:40:50 -0500

On Fri, Dec 11, 2009 at 8:43 PM, Keith Blount <email@hidden> wrote:

> Oops, sorry, forgot to ask: what happens if the user hits save again while the separate
> thread is already saving the search indexes to disk?

Also consider what happens when the user hits save, then immediately
quits before your file writing thread has finished writing the file to
disk.

(Since users generally get upset when you lose their data, you'll have
to handle this case as well.)

- Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Detaching a thread to save a file? (From: Ken Thomases <email@hidden>)
 >Re: Detaching a thread to save a file? (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: Detaching a thread to save a file?
  • Next by Date: Hang Initializing App
  • Previous by thread: Re: Detaching a thread to save a file?
  • Next by thread: iPhone voice synthesis
  • Index(es):
    • Date
    • Thread