• 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: pthreads and standard C library calls and maybe magic Xcode switches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >pthreads and standard C library calls and maybe magic Xcode switches (From: Cem Karan <email@hidden>)
 >Re: pthreads and standard C library calls and maybe magic Xcode switches (From: "Shawn Erickson" <email@hidden>)
 >Re: pthreads and standard C library calls and maybe magic Xcode switches (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: objc looks for Tiger class which should be weak-linked
  • Next by Date: Re: objc looks for Tiger class which should be weak-linked
  • Previous by thread: Re: pthreads and standard C library calls and maybe magic Xcode switches
  • Next by thread: Re: pthreads and standard C library calls and maybe magic Xcode switches
  • Index(es):
    • Date
    • Thread