• 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: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
      • From: Jean Suisse <email@hidden>
References: 
 >Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop? (From: Jean Suisse <email@hidden>)
 >Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop? (From: Ken Thomases <email@hidden>)
 >Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop? (From: Jens Alfke <email@hidden>)
 >Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop? (From: Jean Suisse <email@hidden>)

  • Prev by Date: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
  • Next by Date: NSDocument custom file Package or URL override?
  • Previous by thread: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
  • Next by thread: Re: Does initWithHTML:dataUsingEncoding:documentAttributes: run an event loop?
  • Index(es):
    • Date
    • Thread