This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: winbase.h (ilockexch)
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 31 May 2005 19:05:12 -0400
- Subject: Re: winbase.h (ilockexch)
- References: <20050601004223.I56374@logout.sh.cvut.cz>
- Reply-to: cygwin-patches at cygwin dot com
On Wed, Jun 01, 2005 at 12:52:26AM +0200, Vaclav Haisman wrote:
>I think that ilockexch() in winbase.h should look like what is in my
>patch. Explicit lock prefix is not needed because xchg instruction
>sets LOCK# signal implicitly.
A similar implementation in the linux kernel seems to disagree with you.
cgf