Re: [PATCH] fix race condition in List_insert

2021-08-24 Thread Corinna Vinschen
Hi Александр, On Aug 23 22:05, Александр Маликов wrote: > I'm completely new to all this BSD-2 stuff etc... What exactly should I do > to 'provide my BSD-2 waiver'? > This patch is licenced under 2-clause BSD. > Is it enough? Yes, that's ok. You just have to write that all your Cygwin patches wi

Re: [PATCH] fix race condition in List_insert

2021-08-23 Thread Александр Маликов
I'm completely new to all this BSD-2 stuff etc... What exactly should I do to 'provide my BSD-2 waiver'? This patch is licenced under 2-clause BSD. Is it enough? пн, 23 авг. 2021 г. в 21:08, Corinna Vinschen : > Hi Александр, > > On Aug 23 18:48, Александр Маликов wrote: > > https://gist.github.c

Re: [PATCH] fix race condition in List_insert

2021-08-23 Thread Corinna Vinschen
Hi Александр, On Aug 23 18:48, Александр Маликов wrote: > https://gist.github.com/schn27/23b47563b429d5ac315d05a43a11 > > The test is failed if "Thread #X timeout" is printed and -1 returned. This > happens on my laptop in about several minutes. > The test is passed if it runs infinitely. Yu

Re: [PATCH] fix race condition in List_insert

2021-08-23 Thread Александр Маликов
https://gist.github.com/schn27/23b47563b429d5ac315d05a43a11 The test is failed if "Thread #X timeout" is printed and -1 returned. This happens on my laptop in about several minutes. The test is passed if it runs infinitely. пн, 23 авг. 2021 г. в 18:02, Corinna Vinschen : > Hi Aleksandr, > >

Re: [PATCH] fix race condition in List_insert

2021-08-23 Thread Corinna Vinschen
Hi Aleksandr, thanks for the patch. On Aug 23 17:27, Aleksandr Malikov wrote: > From: Aleksand Malikov > > Revert mx parameter and mutex lock while operating the list. > Mutex was removed with 94d24160 informing that: > 'Use InterlockedCompareExchangePointer to ensure race safeness > without u