CAS is broken

Chris Goffinet goffinet at yahoo-inc.com
Sun Nov 11 22:48:59 UTC 2007


Looks good Dustin, just validated using the latest test from Tomash.  
Also we need to wrap this in pthread mutex's so its compatible with  
thread version.


Chris Goffinet
goffinet at yahoo-inc.com



On Nov 11, 2007, at 2:37 PM, Dustin Sallings wrote:

>
> On Nov 11, 2007, at 9:39, Tomash Brechko wrote:
>
>> However internally (and this was mentioned in the thread) CAS value  
>> is
>> actually a pointer (cast to uint32_t for some reason).  So I thought,
>> how we know the pointer won't be reused?
>
>
> 	Can you take a look at this and see if it makes any more sense?
>
> <cas-global-counter.diff>
>
> -- 
> Dustin Sallings
>
>
>



More information about the memcached mailing list