<HTML>
<style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>I dare say, I would consider elevating this, especially as it's a feature being used by an end user and is pretty serious if a multi-threaded program can sometimes freeze due to a race hazard.<br>
<br>
Unfortunately, I don't use threads enough to know for sure how the underlying classes work, otherwise I'd take it on myself.<br>
<br>
Gareth aka. Kit<br>
<br>
<br>
<span style="font-weight: bold;">On Fri 15/02/19 11:52 , "Luca Olivetti" luca@ventoso.org sent:<br>
</span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">El 6/2/19 a les 18:51, Sven Barth via fpc-devel ha escrit:
<br>
<br>
<span style="color: rgb(102, 102, 102);">>
</span><br>
<span style="color: rgb(102, 102, 102);">> Would you nevertheless try with 3.2, please? Just in case it happens to
</span><br>
<span style="color: rgb(102, 102, 102);">> be the problem I had fixed in regards to Queue().
</span><br>
<span style="color: rgb(102, 102, 102);">>
</span><br>
With fpc from the fixes_3_2 branch, revision 41310, and lazarus from the
<br>
fixes_2_0 branch revision 60414 it has been running for hours with no issue.
<br>
<br>
Mind me, that's not an absolute guarantee that it's working: I had the
<br>
same program compiled with fpc 3.0.4/lazarus 1.8.4 running all night
<br>
without triggering the issue, then I tried to introduce some randomness
<br>
in the companion test program (that simulates an hardware I/O module I
<br>
use in the field) and I could trigger it in a few minutes.
<br>
<br>
However, even if it's really fixed, I'm still worried: the changes in
<br>
the threading code should only be relevant for Queue, not for Synchronize.
<br>
I hope it's not just luck and there are fixes in other areas of the
<br>
compiler/rtl/lazarus that are affecting the outcome.
<br>
<br>
Bye
<br>
--
<br>
Luca
<br>
_______________________________________________
<br>
fpc-devel maillist - <a href="javascript:top.opencompose('fpc-devel@lists.freepascal.org','','','')">fpc-devel@lists.freepascal.org</a>
<br>
<a target="_blank" href="parse.php?redirect=<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>"><span style="color: red;">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</span></a>
<br>
<br>
<br>
</blockquote></HTML>