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.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to