Al 08/10/10 15:17, En/na Graeme Geldenhuys ha escrit:


If you use the MyThread.WaitFor to wait for the thread to finish, then
the application is instantly frozen (even the thread), nothing gets
updated and you have to kill the process. For some reason
WaitFor blocks the main thread's event loop. It seems this issue is
only under FPC apps and under X11 (no matter the GUI toolkit),
it works fine under Windows.

I'm surprised it works under windows: using synchronize and waitfor has always been a no-no.

Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to