Does anyone know of a good method to run multithreaded templates sequentially? So for example run 1 template with 50 threads and 200 instances, and then somehow once the last instance has finished, kick off the next template using the generated bat file.
Right now I am writing to a file ".finished" when input list is detected as empty by first thread that reaches empty list, other threads then end and this thread pauses then kicks off next template. I am finding this method somewhat unrealiable though and was wondering if there is a better method I can use. Maybe a method to get the current thread count of the template from ZP or something?
Thanks in advance.
Right now I am writing to a file ".finished" when input list is detected as empty by first thread that reaches empty list, other threads then end and this thread pauses then kicks off next template. I am finding this method somewhat unrealiable though and was wondering if there is a better method I can use. Maybe a method to get the current thread count of the template from ZP or something?
Thanks in advance.