• 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: [Q] Why is the threading and UI updating designed to be done only on a main thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?


  • Subject: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 14 Mar 2012 12:46:54 -0400

On Mar 14, 2012, at 12:07 PM, Brian Lambert wrote:

> Scott, it's not that any one thing is hard to get correct.  Arrogantly
> calling someone stupid, as you've done here, doesn't help.

Sounds like you're putting words in Scott's mouth Brian.

> On Wed, Mar 14, 2012 at 6:43 AM, Scott Ribe <email@hidden>wrote:
>
>> On Mar 13, 2012, at 3:09 PM, JongAm Park wrote:
>>
>>> In other words, the thread function may want to update UI like inserting
>> a log message to a text field on a window and thus asking main thread to do
>> so, and main thread is waiting to acquire a lock or waiting using "Join",
>> then either the main thread and the other thread can't progress.
>>
>> Ouch. If you think that's a problem, then trust me, you would really make
>> a mess with multiple UI threads.

- Alex Zavatone



_______________________________________________

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

References: 
 >[Q] Why is the threading and UI updating designed to be done only on a main thread? (From: JongAm Park <email@hidden>)
 >Re: [Q] Why is the threading and UI updating designed to be done only on a main thread? (From: Scott Ribe <email@hidden>)
 >Re: [Q] Why is the threading and UI updating designed to be done only on a main thread? (From: Brian Lambert <email@hidden>)

  • Prev by Date: Blocks: object retaining behavior?
  • Next by Date: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • Previous by thread: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • Next by thread: Re: [Q] Why is the threading and UI updating designed to be done only on a main thread?
  • Index(es):
    • Date
    • Thread