• 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: is lockFocus main thread specific?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is lockFocus main thread specific?


  • Subject: Re: is lockFocus main thread specific?
  • From: email@hidden
  • Date: Fri, 16 Nov 2007 10:02:05 +0100


On 16 Nov 2007, at 01:50, Eric Shapiro wrote:

On Nov 15, 2007, at 3:03 PM, email@hidden wrote:

9. Re: is lockFocus main thread specific? (Michael B Johnson)


[NSImage lockFocus] most definitely crashes on 10.5 when called from a secondary thread. I have dozens of crash reports from users verifying the problem.

I was unable to reproduce the problem in a small test application, though, so the problem is more complicated than just that one call. My work-around was to do all NSImage related work on the main thread, which is ok in our case but definitely sub-optimal in others.

-Eric Shapiro


This reminds me of : http://www.cocoabuilder.com/archive/message/cocoa/2005/1/31/127185

Matt Gough
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Re: is lockFocus main thread specific? (From: Eric Shapiro <email@hidden>)

  • Prev by Date: Re: Core Data Binded Text Fields
  • Next by Date: Re: Weird problem with writeToUrl:ofType:error
  • Previous by thread: Re: is lockFocus main thread specific?
  • Next by thread: Re: What's the easiest way to break on an Obj-C exception?
  • Index(es):
    • Date
    • Thread