This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: winbase.h (ilockexch)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]