[PD] threads.py