[Lazarus] TThread.WaitFor blocks the main event loop under Linux

Reimar Grabowski reimgrab at web.de
Fri Oct 8 18:49:09 CEST 2010


On Fri, 8 Oct 2010 18:00:38 +0200
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> Just a note:
> Since this monday the IDE scans the FPC sources in a separate thread,
> with a progress bar. 
It is just that Graeme was bitten by threading and he was the one saying that you should know what you do, which made me smile. In general threads have their purpose (for decoding video and audio streams I use threads myself). I am not against using threads in Lazarus if they are the best option for a given case.

R.
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the Lazarus mailing list