[Lazarus] How does one add an event to a blocking system?

Michael Schnell mschnell at lumino.de
Wed Oct 21 16:37:43 CEST 2015


On 10/21/2015 04:19 PM, Mark Morgan Lloyd wrote:
>
>
> I don't know whether I've overlooked anything significant there, but 
> it appears robust and activity triggered by around half a dozen 
> background threads appears as expected.

Of course it's robust.

But check the CPU usage. It it's 100% all threads get just time slices- 
If it's just one other thread, same will never get more than 50 %.

If it's not 100% the system is waiting somewhere else in a sleep, a 
blocking read or similar.

-Michael





More information about the Lazarus mailing list