@bennettjimmy63 its pretty simple just after Initialize just go on
Script statics - Thread number OK
then
Waiters - Sleep - [[THREAD_INDEX]]*(time to wait ms)
is there any way to change threads number dynamically?
-
@yuhuan110 said in is there any way to change threads number dynamically?:
My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".