Re: Threading and GraphicContext
Re: Threading and GraphicContext
- Subject: Re: Threading and GraphicContext
- From: Uli Kusterer <email@hidden>
- Date: Tue, 3 Apr 2007 21:53:30 +0200
Am 03.04.2007 um 09:51 schrieb Thomas Dingler:
While doing this, everything works fine, but in not determinable
circumstances the application crashs with such a stack trace:
You aren't using the same CGContext from several threads, are you?
That's unsupported. You have to create a new CGContext (or
NSGraphicsContext) for every thread you draw from.
If that's not what you're doing, I have no idea, but statistics
says it's probably something similar, that you're using something
from two threads you shouldn't, or releasing an object in one thread
that's still used in another.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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