import threading, time globalList = [] def test(): ct = threading.currentThread() for i in range(1000): globalList.append(ct) time.sleep(0.0001) globalList.remove(ct) for i in range(10): t = threading.Thread(target=test) t.start()