UIGraphicsBeginImageContext thread safety
UIGraphicsBeginImageContext thread safety
- Subject: UIGraphicsBeginImageContext thread safety
- From: Andrew <email@hidden>
- Date: Fri, 2 Oct 2009 00:41:03 +1300
Hi All,
So clearly the UIGraphicsBeginImageContext() set of calls are not
thread safe, I was attempting to use them in an NSOperation and they
are causing a crash, further research has shown me that I need to drop
down into the CG calls to do what I want to do.
.....and presumably I could have been forewarned if I had looked at the
'UI' at the front of the function, and had read that as a Sign.
I am, however, very interested...for my own curiosity...in why they
are not? my mental image of that call had it simply wrapping the
CGBitmapContextCreate() set of calls, and they are thread safe.
what is it doing that renders it not thread safe, does anyone know?
Yours cheerfully,
Andrew Bush
_______________________________________________
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