• 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: threads vs run-loops for keeping your GUI responsive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threads vs run-loops for keeping your GUI responsive


  • Subject: Re: threads vs run-loops for keeping your GUI responsive
  • From: Niko Matsakis <email@hidden>
  • Date: Fri, 9 Dec 2005 22:53:15 +0100

Precisely what I was looking for! Thank you. Seems like every time I write the list, I find the method I was looking for was right under my nose. Forgive me.

Regarding the debate on responsiveness vs data processing, and the proper use of threads vs processes: suffice to say that there is no one master design that works best for all situations. Threads, processors, and run loops all have their role.

As I said in my mail, I think in many cases a worker thread or process is overkill. Sticking with one thread and one process can be the simplest solution to get correct while still preventing long freezes in the UI --- and that is the most important thing to me.

Anyhow, thanks again for the help everyone!


Niko
_______________________________________________
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: threads vs run-loops for keeping your GUI responsive
      • From: Scott Ellsworth <email@hidden>
References: 
 >threads vs run-loops for keeping your GUI responsive (From: Niko Matsakis <email@hidden>)
 >Re: threads vs run-loops for keeping your GUI responsive (From: "Joshua D. Orr" <email@hidden>)

  • Prev by Date: Re: Using instance variable from NSArray of objects
  • Next by Date: Re: Bindings detail column shows dictionary description, not value
  • Previous by thread: Re: threads vs run-loops for keeping your GUI responsive
  • Next by thread: Re: threads vs run-loops for keeping your GUI responsive
  • Index(es):
    • Date
    • Thread