• 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: 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


  • 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: SQLite3 GUI
  • Next by Date: Re: _fastCStringContents selector not recognized
  • Previous by thread: Re: Questions about NSThread, NSRunloop, Webview
  • Next by thread: Re: Questions about NSThread, NSRunloop, Webview
  • Index(es):
    • Date
    • Thread