Skip navigation.
 
mlRe: Threading and GraphicContext
FROM : Uli Kusterer
DATE : Tue Apr 03 21:53:30 2007

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

Related mailsAuthorDate
mlThreading and GraphicContext Thomas Dingler Apr 3, 09:51
mlRe: Threading and GraphicContext Uli Kusterer Apr 3, 21:53