Re: pthreads and CF runloops (possibly slightly OT)
Re: pthreads and CF runloops (possibly slightly OT)
- Subject: Re: pthreads and CF runloops (possibly slightly OT)
- From: j o a r <email@hidden>
- Date: Sat, 12 Nov 2005 16:57:44 +0100
On 12 nov 2005, at 16.20, Hado Hein wrote:
I want to jump in here. One thing (apparently more in Aqua ;-) is
that I
have in mind only to draw from the main thread (aka AppRunLoop).
Do I understand the above right in the way that a secondary thread
could
append some source to the main loop and let the main loop then execute
some drawing (which it is not allowed in its own thread).
Although off-topic for this list:
You are allowed to draw from secondary threads if you just follow
some simple rules:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
Multithreading/articles/CocoaSafety.html>
That said, you can of course also do what you suggest, and leave all
the drawing to the main thread.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden