Re: Questions about NSThread, NSRunloop, Webview
Re: Questions about NSThread, NSRunloop, Webview
- Subject: Re: Questions about NSThread, NSRunloop, Webview
- From: glenn andreas <email@hidden>
- Date: Sun, 19 Feb 2006 18:17:54 -0600
On Feb 19, 2006, at 2:46 PM, Stefan Heukamp wrote:
Hi,
recently I've got a few problems with NSThread, NSRunloop and
Webview. In a part of my program I try to implement kind of a
multithreaded frontend to the unix-tool wget.
Here's what I do:
1) I create a new Thread.
I assume a new NSRunLoop should be created automatically. Is
that true?
2) In this Thread I create a WebView and send loadRequest to this
Webview.
You're probably going to have problems from this step, regardless of
other issues, since doing things like creating a UI needs to be done
on the main thread...
(It's unclear if, even if created on the main thread, that you can
send loadRequest on a secondary thread either)
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
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