Re: Asynchronously mounting a remote file server?
Re: Asynchronously mounting a remote file server?
- Subject: Re: Asynchronously mounting a remote file server?
- From: Mike Abdullah <email@hidden>
- Date: Fri, 14 Jun 2013 18:15:47 +0100
On 14 Jun 2013, at 18:06, Jens Alfke <email@hidden> wrote:
>
> On Jun 14, 2013, at 12:22 AM, Mike Abdullah <email@hidden> wrote:
>
>> There's no async API. I filed a radar asking for this relatively recently and was recommended to shove such tasks onto the low priority GCD queue instead.
>
> That sounds reasonable, as long as that function is safe to call on a background thread of course. (I wasn't sure, since it may require user interaction such as getting credentials for a file server, or that “Do you want to locate the file?” alert.)
My understanding is the bookmarks API is completely threadsafe. Any UI that appears as a result is actually handled outside of the calling process.
_______________________________________________
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