• 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: Messages between Threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Messages between Threads


  • Subject: Re: Messages between Threads
  • From: "Paul Sanders" <email@hidden>
  • Date: Sun, 15 Mar 2009 08:40:36 -0000

>> I am used to a more robust threading model.

> I'm curious, what is not "robust" about the Cocoa threading model, and
> what are you comparing it to?

Well, only being able to draw and process events on the main thread mainly.

I am comparing it to Windows where a secondary thread can do what it likes,
as far as Windows itself is concerned.  Each thread has its own input queue
and can create windows, process its own events, draw whatever and whenever
it likes and so forth.  We wrote a remote control app that took advantage of
this by running each remote control session in a separate thread.  The
remote control sessions (each one handling the screen and keyboard of a
remote PC) were therefore completely independent of each other should they
wish to perform blocking operations (such as file transfers) and that made
writing the code much easier.  It's a facility I am going to miss.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Messages between Threads
      • From: Shawn Erickson <email@hidden>
References: 
 >Messages between Threads (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Messages between Threads (From: "Paul Sanders" <email@hidden>)
 >Re: Messages between Threads (From: Michael Ash <email@hidden>)
 >Re: Messages between Threads (From: "Paul Sanders" <email@hidden>)
 >Re: Messages between Threads (From: Joar Wingfors <email@hidden>)

  • Prev by Date: Re: Messages between Threads
  • Next by Date: Re: Custom NSManagedObject Class Initializer
  • Previous by thread: Re: Messages between Threads
  • Next by thread: Re: Messages between Threads
  • Index(es):
    • Date
    • Thread