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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to