Re: pthreads and standard C library calls and maybe magic Xcode switches
Re: pthreads and standard C library calls and maybe magic Xcode switches
- Subject: Re: pthreads and standard C library calls and maybe magic Xcode switches
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 21 Aug 2007 14:53:24 -0700
On 8/21/07, Cem Karan <email@hidden> wrote:
> I'm continuing to work on my pthreads based program, and realized
> that I've run into a potential problem.
I think you misunderstand what volatile means and when you need to use it.
In the examples you have given the use of volatile isn't needed since
the locking constructs you are using will ensure proper memory
barriers exist.
-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