On 06/02/2019 16:19, Luca Olivetti wrote:
. In my case the problem is with Synchronize, the synchronized method is never called and the thread gets stuck there.
"synchronized method is never called"
So is the main thread running, and either idle, app.ProcessMessages, or CheckSynchronize?

The other issue (though that should be obvious) is never to wait on a thread, inside the synchronize event. (I.e. you can call Thread.Terminate; in a synced event, but must not call Thread.waitFor)
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to