Ok. The problem was that my $idle :shared = $maxNumberOfParallelJobs; was specified too early as maxNumberOfParallelJobs gets overwritten later using parameters.,
Your solution performs well and I get the idea of how this all should work together. Thank you for your patience.
In reply to Re^8: Proper undefine queue with multithreads
by sanc
in thread Proper undefine queue with multithreads
by sanc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |