Sorry about that. I was hoping that a ".diff" file might make it through to
the mailing list, as I thought that I had seen other such file attachments
in some of the other messages. I'll stick to ".txt" files from now ;)

Cheers,
Andrew

On Fri, 12 Apr 2019 at 23:46, JonY via Mingw-w64-public <
[email protected]> wrote:

> On 4/12/19 1:49 AM, Andrew Ng wrote:
> > I have attached a minimal patch that fixes the deadlock issue.
> >
> > The principle change to avoid deadlock, is to not wait whilst holding the
> > "waiters count lock". Because of this change to the locking, there is an
> > additional case required in the "signal" and "broadcast" functions which
> > handles when the "waiters count" goes to zero.
> >
> > I'm away on holiday (vacation), so will probably not have time to sort
> out
> > the other changes that were included in my original patch which are
> > probably still worth while, particularly the removal of the locking from
> > the "sema" functions.
>
> Can you resend with a .txt file extension? The patch did not make it to
> the mailing list.
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to