• 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: Clarification: What is exatly drawing inside a thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clarification: What is exatly drawing inside a thread


  • Subject: Re: Clarification: What is exatly drawing inside a thread
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 8 Feb 2004 18:02:08 +0100

Am 08.02.2004 um 09:00 schrieb Glen Low:

by locking that code, you can be sure only one thread updates the invalid rect, but you haven't prevented the system from using it to figure out what to draw.

Right. Didn't think about that.

So it seems you have to either use lockFocusIfCanDraw or just not write to anything from within another thread that the AppKit itself needs direct access to.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Clarification: What is exatly drawing inside a thread (From: Stefan Pantke <email@hidden>)
 >Re: Clarification: What is exatly drawing inside a thread (From: Andreas Mayer <email@hidden>)
 >Re: Clarification: What is exatly drawing inside a thread (From: Glen Low <email@hidden>)

  • Prev by Date: Re: Document App or not?
  • Next by Date: Re: Converting wchar_t string to NSString
  • Previous by thread: Re: Clarification: What is exatly drawing inside a thread
  • Next by thread: Re: Clarification: What is exatly drawing inside a thread
  • Index(es):
    • Date
    • Thread