[Lazarus] AsyncProcess code problem

Michael Schnell mschnell at lumino.de
Fri Jun 9 10:12:47 CEST 2017


On 09.06.2017 09:38, Steve Gatenby via Lazarus wrote:
>
> I create a thread every second to run a process (TAsyncprocess), then 
> FreeAndNil the process once done.
>

Would it not be more appropriate to use a thread pool and keep the 
threads up, waiting for a TEvent telling them what to do ?

-Michael


More information about the Lazarus mailing list