• 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: Threading and GraphicContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Threading and GraphicContext (From: Thomas Dingler <email@hidden>)

  • Prev by Date: SOLVED: Unions in Obj-C Code
  • Next by Date: Re: Two Core Data .mom Files
  • Previous by thread: Threading and GraphicContext
  • Next by thread: Re: Fullscreen Window
  • Index(es):
    • Date
    • Thread