tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ufetch_32/ustore_32 et al



On Oct 24, 2009, at 5:38 PM, Mindaugas Rasiukevicius wrote:

>> 
>>      int     fetch32(void *addr, uint32_t *c);
>>      int     store32(void *addr, uint32_t c);
>> 
> 
> Small correction, matt@ suggested to use the following way:
> 
>       u{fetch,ustore}_{u,}{8,16,32,64,int,long,ptr}
> 
> Which is basically in sync with ucas_32/64/ptr and atomic_ops(3) APIs.
> We do not need to implement them all, however - in many years there were
> not many uses of these routines.

I like the new names.

> 
> -- 
> Mindaugas

-- thorpej



Home | Main Index | Thread Index | Old Index