Re: Temporarily disabling autosave
Re: Temporarily disabling autosave
- Subject: Re: Temporarily disabling autosave
- From: Mike Abdullah <email@hidden>
- Date: Sat, 20 Apr 2013 14:05:38 +0100
On 19 Apr 2013, at 21:22, Quincey Morris <email@hidden> wrote:
> On Apr 19, 2013, at 13:04 , Steve Mills <email@hidden> wrote:
>
> c. If the autosave is asynchronous, you can just not return from it until playback finishes. Note, however, this does not prevent another autosave from arriving after some time interval, so you need to be careful that the second one doesn't step on the first one. (This autosave behavior is a bug, IMO, but it is the current behavior.)
I don't believe this is the case. Documents serialise tasks such as autosaving using the -performActivityWithSynchronousWaiting:… and -perform…FileAccess… APIs. This should stop any kind of save from actually kicking off until any existing saves/file access is finished.
_______________________________________________
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