[PATCH] fix race condition in List_insert

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 23 18:08:57 GMT 2021


Hi Александр,

On Aug 23 18:48, Александр Маликов wrote:
> https://gist.github.com/schn27/23b47563b429aaaad5ac315d05a43a11
> 
> 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.

Yup, that shows the problem nicely.

> > LGTM.  Can you please provide a copyright waiver per
> > https://cygwin.com/contrib.html.  See the winsup/CONTRIBUTORS file.

Just provide your BSD-2 waiver and I'll push your patch.


Thanks,
Corinna


More information about the Cygwin-patches mailing list