Running Multithreaded Templates Sequentially

hungryim

Client
Регистрация
02.01.2013
Сообщения
56
Благодарностей
2
Баллы
8
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.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 626
Благодарностей
5 962
Баллы
113

hungryim

Client
Регистрация
02.01.2013
Сообщения
56
Благодарностей
2
Баллы
8
Thanks Vlad, I'm aware of the bat file options but struggling more with having a single thread from a multithreaded template start off the next template.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 719
Баллы
113
I would use task manager
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)