Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- Subject: Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
- From: Ken Thomases <email@hidden>
- Date: Wed, 15 May 2013 09:12:21 -0500
On May 15, 2013, at 8:58 AM, Jean Suisse wrote:
> Thanks for your replies.
> Unfortunately, I can't easily avoid initWithHTML:dataUsingEncoding:documentAttributes:
> But I can postpone it long enough to move its execution to an other thread (serial dispatch queue).
> That solves the issue.
I doubt it will. If that method is invoked from a background thread, it will shunt the work to the main thread anyway. In other words, it always does its work on the main thread.
Regards,
Ken
_______________________________________________
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