Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2012 13:34:37 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        jack.ren@intel.com, freebsd-threads@freebsd.org
Subject:   Re: About the memory barrier in BSD libc
Message-ID:  <201204241334.37580.jhb@freebsd.org>
In-Reply-To: <20120424165842.GZ2358@deviant.kiev.zoral.com.ua>
References:  <20120423084120.GD76983@zxy.spb.ru> <201204241110.14017.jhb@freebsd.org> <20120424165842.GZ2358@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, April 24, 2012 12:58:42 pm Konstantin Belousov wrote:
> On Tue, Apr 24, 2012 at 11:10:13AM -0400, John Baldwin wrote:
> > Could you move the extern and THREAD_LOCK/UNLOCK macros into the stdio
> > private header file?
> 
> This requires more glue because spinlock.h is separate from libc_private.h.
> I also added a comment trying to explain why assignment is braced with lock.

This looks great, thanks!

-- 
John Baldwin



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