Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2005-04-06 10:50:47

Peter Dimov wrote:
> we'll probably see a bigger hit on a dual PPC.

Try on it something along the lines of

  asm long atomic_decrement_weak( register long * pw ) {

      <add -1>
      <branch if zero to acquire>


      <add -1>
      <branch if zero to acquire>
      <branch if failed to loop else to done>






Boost list run by bdawes at, gregod at, cpdaniel at, john at