• 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: Smooth OpenGL animation possible, even if main thread blocks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smooth OpenGL animation possible, even if main thread blocks?


  • Subject: Re: Smooth OpenGL animation possible, even if main thread blocks?
  • From: vincent habchi <email@hidden>
  • Date: Mon, 28 Jun 2010 14:43:35 +0200

Markus,
> "Possible" or "Allowed"? ;-)

Both, I think. If I am not mistaken, it was some Apple guy (David Duncan?) who pointed out the role of the runloop. I therefore take for granted that, if it is not "allowed", it must at least be "tolerated".

> It is also possible to use Cocoa UI objects from different threads; at least if you do it carefully, you might get away with that. However, I doubt this is really allowed and if it stops working, Apple will say "We told you not to...".  Considering that the future of processing is more and more cores (virtual or physical ones), it is pretty unfortunate that Cocoa is so little thread-safe and that UI is still often bound to main thread.

I think Apple is well aware of that. I'd bet this is one of their priorities for MacOS 10.7... Just a wild guess, though.

Vincent

Sent from my iPhone4


_______________________________________________

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: Smooth OpenGL animation possible, even if main thread blocks?
      • From: Markus Hanauska <email@hidden>
References: 
 >Smooth OpenGL animation possible, even if main thread blocks? (From: Markus Hanauska <email@hidden>)
 >Re: Smooth OpenGL animation possible, even if main thread blocks? (From: vincent habchi <email@hidden>)
 >Re: Smooth OpenGL animation possible, even if main thread blocks? (From: Markus Hanauska <email@hidden>)

  • Prev by Date: Debugging a toolbar issue on 10.5
  • Next by Date: Re: Smooth OpenGL animation possible, even if main thread blocks?
  • Previous by thread: Re: Smooth OpenGL animation possible, even if main thread blocks?
  • Next by thread: Re: Smooth OpenGL animation possible, even if main thread blocks?
  • Index(es):
    • Date
    • Thread