• 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: BitMap data format and autorelease
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BitMap data format and autorelease


  • Subject: Re: BitMap data format and autorelease
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 13 Mar 2008 18:01:33 -0700


On 13 Mar '08, at 5:44 PM, Trygve Inda wrote:

Is this thread-safe? Or is it better to create the NSImage so I can call lockFocus ?

The two are equally thread-safe, I'm pretty sure. I have never been brave enough to use AppKit on multiple threads, but I believe the current graphics context is per-thread.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: BitMap data format and autorelease (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: QCView openGLContext
  • Next by Date: Re: BitMap data format and autorelease
  • Previous by thread: Re: BitMap data format and autorelease
  • Next by thread: Re: BitMap data format and autorelease
  • Index(es):
    • Date
    • Thread