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: Jonas Maebe <email@hidden>
- Date: Wed, 22 Aug 2007 15:47:28 +0200
On 22 Aug 2007, at 13:37, Cem Karan wrote:
Are you saying that the locking constructs will ensure that the
cache is always flushed back to main memory? That locking and
unlocking is guaranteed as a sequence point for that, and
therefore, regardless of how a function is compiled (e.g., linked
in static library that wasn't volatile qualified), as long as there
is a lock, it flushes to main memory? I was talking to one of my
coworkers to find out if this is true, and he wasn't sure; that
worried me because he is on the C standards committee, and knows a
heck of a lot more than I do about all this...
This is not defined in the C standards, but in the POSIX (pthreads)
standards (POSIX/pthreads have nothing to do with C).
Jonas
_______________________________________________
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