Re: libthr & atomic_xxx ops

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Thu, 28 Jul 2005 23:29:45 -0400
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
Received on Fri Jul 29 2005 - 01:29:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC