On 11 October 2010 10:24, Michael Schnell <[email protected]> wrote:
>
> I thought, TThread.Waitfor would (should) be implemented using this
> mechanism (e.g doing a loop with "Application.PreocessMessages"). With that
> it would not be blocking other event handlers. But Maybe I'm wrong and
>  TThread.Waitfor in fact should block the main thread event handlers...

I think Thread.WaitFor should trigger an event each time in it's loop.
Thus a developer could hook into that event and call things like
Application.ProcessMessages or whatever else is required to keep the
application from deadlock.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/

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

Reply via email to