• 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: pthreads and CF runloops (possibly slightly OT)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: pthreads and CF runloops (possibly slightly OT) (From: email@hidden (Hado Hein))

  • Prev by Date: Re: pthreads and CF runloops (possibly slightly OT)
  • Next by Date: Darwin 8.3 Source Code Available
  • Previous by thread: Re: pthreads and CF runloops (possibly slightly OT)
  • Next by thread: RE: pthreads and CF runloops (possibly slightly OT)
  • Index(es):
    • Date
    • Thread