Re: Is CGImage... thread-safe?
Re: Is CGImage... thread-safe?
- Subject: Re: Is CGImage... thread-safe?
- From: Steve Mills via Cocoa-dev <email@hidden>
- Date: Tue, 26 May 2020 16:27:11 -0500
On May 26, 2020, at 16:10:26, Gabriel Zachmann via Cocoa-dev
<email@hidden> wrote:
>
> I've just had a crash in
> CGImageSourceCreateThumbnailAtIndex( new_image, 0, imageOpts );
We went through this quite a while ago in private emails.
CGImageSourceCreateThumbnailAtIndex is fine to use from any thread. Are you
sure the image source even has an image at index 0? Not all do. What's the
crashed stack look like?
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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