Re: Questions about NSThread, NSRunloop, Webview
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