Re: Is malloc/new thread safe on OSX?
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