QuickLib
QuickLib copied to clipboard
Know how many tasks are active
Please, can you tell me if TBackgroundTasks has a safe way to know how many tasks are active? I've included an inc( finished ) in .OnTerminated but I'm not sure if it's safe.
as I run my application via console through the windows task manager, I had to add a while to wait for completion.
while finished < total do
continue;