Answer the question
In order to leave comments, you need to log in
How to limit the number of threads in Python?
Has a loop that currently creates a new thread for each element from the array:
for base in core_bases:
name_thread = "thread %s " % (item_lst + 1)
thread = CoreCheck(base, name_thread)
thread.start()
time.sleep(0.2)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question