Re: Detaching a thread to save a file?
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