• 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: Services, Threads and User Interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Services, Threads and User Interface


  • Subject: Re: Services, Threads and User Interface
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Tue, 12 Aug 2003 17:29:32 +0100

On Tuesday, August 12, 2003, at 05:11 pm, Diggory Laycock wrote:

Is it possible to set-up a second thread that would deal with the UI while the main thread is locked-up? Or is that a big no-no?

It is entirely normal to run the UI and computation in separate threads, although it must be said that it is usually the main thread that runs the UI and spawns worker threads (rather than the other way around). You probably shouldn't access UI objects from more than one thread though; the last I heard, the AppKit wasn't fully thread safe.

Kind regards,

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Services, Threads and User Interface (From: Diggory Laycock <email@hidden>)

  • Prev by Date: Re: Setting focus to text field in drawer
  • Next by Date: Re: Query an NSFont: Serif or Sans Serif, is it extended or condensed, etc.
  • Previous by thread: Services, Threads and User Interface
  • Next by thread: Examples of creating custom controls
  • Index(es):
    • Date
    • Thread