• 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: Questions about NSThread, NSRunloop, Webview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about NSThread, NSRunloop, Webview


  • Subject: Re: Questions about NSThread, NSRunloop, Webview
  • From: j o a r <email@hidden>
  • Date: Sun, 19 Feb 2006 22:07:35 +0100


On 19 feb 2006, at 21.46, Stefan Heukamp wrote:

4) When the download of the WebView is finished, I get the Callback downloadDidFinish but it seems to be called in the MainThread, so it is not executed parallel to the MainThread which I wanted.

How do you determine in which tread you get your callback?

You see, I'm relatively new to multithreading, especially with cocoa. Do you know a real good tutorial or something like that about Multithreading and RunLoops?

Have you checked the documentation:

<http://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/articles/CocoaDetaching.html>

Search for "Configuring Your Run Loop"

Finally, since it seems that you're using Cocoa functionality that already has an asynchronous interface via it's own threading, are you sure that you need to manage your own threads?

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Questions about NSThread, NSRunloop, Webview
      • From: Stefan Heukamp <email@hidden>
References: 
 >Questions about NSThread, NSRunloop, Webview (From: Stefan Heukamp <email@hidden>)

  • Prev by Date: Re: Truncating a string with ellipses in a multi-line drawInRect: operation?
  • Next by Date: Print Menu Item Magic?
  • Previous by thread: Questions about NSThread, NSRunloop, Webview
  • Next by thread: Re: Questions about NSThread, NSRunloop, Webview
  • Index(es):
    • Date
    • Thread