Open boris-becker-p opened 2 years ago
I would like to set thread name dynamically like :
pytest_parallel/__init__.py ..... import time class ThreadWorker(threading.Thread): def __init__(self, queue, session, errors): _name = "Thread_" + str(time.time()) threading.Thread.__init__(self, name=_name) self.queue = queue self.session = session self.errors = errors .....
But it is always stucks on Ubuntu. What is the right way to set the thread name? Can you help please?
I would like to set thread name dynamically like :
But it is always stucks on Ubuntu. What is the right way to set the thread name? Can you help please?