Date: Thu, 28 Jul 2005 23:29:45 -0400 From: Craig Rodrigues <rodrigc@crodrigues.org> To: Daniel Eischen <deischen@freebsd.org> Cc: freebsd-current@freebsd.org, Giorgos Keramidas <keramida@freebsd.org>, davidxu@freebsd.org Subject: Re: libthr & atomic_xxx ops Message-ID: <20050729032945.GA14881@crodrigues.org> In-Reply-To: <Pine.GSO.4.43.0507282305030.10291-100000@sea.ntplx.net> References: <Pine.GSO.4.43.0507282249300.10291-100000@sea.ntplx.net> <Pine.GSO.4.43.0507282305030.10291-100000@sea.ntplx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729032945.GA14881>