Re: Smooth OpenGL animation possible, even if main thread blocks?
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