Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is lockFocus main thread specific?




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: is lockFocus main thread specific? (From: Eric Shapiro <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.