Re: winbase.h (ilockexch)

2005-05-31 Thread Vaclav Haisman
I should have googled a bit more before I sent the patch. It seems that even though xchg could be used it is not being used becasue it is slower than cmpxchg imlementation of InterlockedExchange. I thus withdraw the patch. VH. On Tue, 31 May 2005, Christopher Faylor wrote: > On Wed, Jun 01, 200

Re: winbase.h (ilockexch)

2005-05-31 Thread Christopher Faylor
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 w

winbase.h (ilockexch)

2005-05-31 Thread Vaclav Haisman
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. VH.Index: winbase.h === RCS file: /cvs/src/src/winsup/cygwin/winbas

Re: link(2) fails on mounted network shares

2005-05-31 Thread Christopher Faylor
On Tue, May 31, 2005 at 04:04:58PM +0200, Martin Koeppe wrote: >> On Tue, May 31, 2005 at 01:39:04AM +0200, Martin Koeppe wrote: >> >Hello, >> > >> >I recently found out that you cannot create hardlinks >> >on mounted network shares with cygwin >> >(error: No such file or directory), >> >but you ca

Re: link(2) fails on mounted network shares

2005-05-31 Thread Martin Koeppe
> On Tue, May 31, 2005 at 01:39:04AM +0200, Martin Koeppe wrote: > >Hello, > > > >I recently found out that you cannot create hardlinks > >on mounted network shares with cygwin > >(error: No such file or directory), > >but you can do it with the ln.exe from Interix. > > > >So I looked at it and fou