Vote count:
0
i am running 15 threads, where the thread definitions are through a class. Would like to know how I can check on other threads from within a thread. for instance, before running thread n (provided n > 1 and n < 15), I want to check if thread (n-1) and (n+1) are running. If they are running, then do not run thread n.
asked 3 mins ago
1 Answer
Vote count:
0
answered 15 secs ago
check which thread is active in python
Aucun commentaire:
Enregistrer un commentaire