libthr & atomic_xxx ops

Craig Rodrigues rodrigc at crodrigues.org
Fri Jul 29 03:29:47 GMT 2005


On Thu, Jul 28, 2005 at 11:12:02PM -0400, Daniel Eischen wrote:
> Hmm, I guess it's no longer the above, but:
> 
> 	atomic_store_rel_ptr(volatile void *p, uintptr_t v);
> 
> This doesn't seem right.  uintptr_t is just __uint32_t (on 32-bit archs).
> It seems more intuitive to use a void * since you want to play with
> pointers.

John Baldwin changed these functions to use uintptr_t instead
of void *:
http://lists.freebsd.org/pipermail/cvs-src/2005-July/049567.html

-- 
Craig Rodrigues        
rodrigc at crodrigues.org


More information about the freebsd-current mailing list