Re: Clarification: What is exatly drawing inside a thread
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.