Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2005 14:21:20 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        PeterJeremy@optushome.com.au
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Sharing memory between ithread and userland
Message-ID:  <20050206.142120.13026592.imp@bsdimp.com>
In-Reply-To: <20050205055119.GC44250@cirb503493.alcatel.com.au>
References:  <20050205055119.GC44250@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you marked the dev_status struct volatile so that the compiler is
forced to re-fetch from memory the values?  The example you provided
didn't have this...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050206.142120.13026592.imp>