On Wed, Nov 09, 2011 at 02:40:19AM -0500, Mouse wrote:
>       membar_sync();
>       mutex_exit(mtx);

mutex_enter and mutex_exit are implicit memory barriers (reads and
writes respectively are not allowed to be reordered).

Joerg

Reply via email to