• 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 malloc/new thread safe on OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is malloc/new thread safe on OSX?


  • Subject: Re: Is malloc/new thread safe on OSX?
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 25 Aug 2008 15:54:25 -0700

On Mon, Aug 25, 2008 at 2:51 PM, Jeff Ray <email@hidden> wrote:
> I can't find an explicit statement about whether new and malloc are thread
> safe under OSX.  Where should I be looking?

No you must lock before calling it and you have to allocate the lock with new!

=P

Yeah they are thread safe.

-Shawn
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Is malloc/new thread safe on OSX? (From: Jeff Ray <email@hidden>)

  • Prev by Date: Is malloc/new thread safe on OSX?
  • Next by Date: Re: Is malloc/new thread safe on OSX?
  • Previous by thread: Is malloc/new thread safe on OSX?
  • Next by thread: Re: Is malloc/new thread safe on OSX?
  • Index(es):
    • Date
    • Thread