• 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: cmpxchgl on x86?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmpxchgl on x86?


  • Subject: Re: cmpxchgl on x86?
  • From: Andrew Gallatin <email@hidden>
  • Date: Thu, 23 Jun 2005 14:08:37 -0400 (EDT)

Matt Watson writes:
 > > Can somebody tell me what I'm doing wrong, please?
 >
 > Try putting a / after the lock.

Thanks..  lock; cmpxchgl  seemed to do the trick.

 >
 > Also, there are compare-and-swap routines already in libSystem:
 >

Yes, but this code already compiles on Linux, FreeBSD, and
Solaris/x86, and that's just the x86 OSes.  The last thing I want is
to add another ifdef.

Thanks for the asm tip!

Drew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >cmpxchgl on x86? (From: Andrew Gallatin <email@hidden>)
 >Re: cmpxchgl on x86? (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: cmpxchgl on x86?
  • Next by Date: Re: cmpxchgl on x86?
  • Previous by thread: Re: cmpxchgl on x86?
  • Next by thread: Re: cmpxchgl on x86?
  • Index(es):
    • Date
    • Thread