• 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: "Sean McBride" <email@hidden>
  • Date: Tue, 2 Sep 2008 14:45:07 -0400
  • Organization: Rogue Research

On 8/25/08 2:51 PM, Jeff Ray said:

>I can't find an explicit statement about whether new and malloc are thread
>safe under OSX.

As others have said, they are.  But beware than before 10.5, if you
enable MallocStackLogging then they become not-thread-safe.  This is
fixed in 10.5.  See:
<http://www.cocoadev.com/index.pl?MallocStackLogging>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

  • Prev by Date: Re: gcc 4.2 on Tiger
  • Next by Date: Re: Filtering out comments in Find results
  • Previous by thread: Re: Callback on incoming call?
  • Next by thread: Re: Filtering out comments in Find results
  • Index(es):
    • Date
    • Thread