<div dir="auto">It&#39;s hard to comment without seeing any code.<div dir="auto"><br></div><div dir="auto">You shouldn&#39;t need to call checksynchronize(). You should only update the GUI on the main thread by triggering thread.synchronized events.</div><div dir="auto"><br></div><div dir="auto">Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 Nov 2017 2:42 p.m., &quot;Jan Bakuwel&quot; &lt;<a href="mailto:jan.bakuwel@omiha.com" target="_blank">jan.bakuwel@omiha.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I&#39;m finishing a Firemonkey application built with XE5 targeting Windows<br>
and MacOS.<br>
<br>
The application is multithreaded and works a charm on Windows.<br>
<br>
On MacOS however, the GUI becomes unresponsive (ie. clicking on buttons<br>
doesn&#39;t do anything) once the threads are getting underway (doing lots<br>
of network traffic). GUI updates (by the threads) are taking place<br>
though (ie. the GUI is not completely frozen, it just doesn&#39;t accept any<br>
keyboard/mouse input).<br>
<br>
After learning this is likely caused by a bug in the XE5 RTL, I&#39;ve added<br>
a timer that calls System.Classes.<wbr>CheckSynchronize in the main thread<br>
frequently if the application runs on MacOS.<br>
I&#39;ve even set up (syslog) logging, so I can confirm/see that<br>
System.Classes.<wbr>CheckSynchronize indeed gets called frequently.<br>
<br>
Yet, the GUI only becomes responsive again once the threads terminate.<br>
<br>
I&#39;m a bit crossed-eyed from looking at this; is there anyone out there<br>
with a suggestion (other than upgrade to Tokyo ;-) ).<br>
<br>
thanks,<br>
Jan<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" rel="noreferrer" target="_blank">http://delphi.org.nz/mailman/<wbr>listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.<wbr>net.nz</a> with Subject: unsubscribe<br>
</blockquote></div></div>