Python Multi-threaded-applications Resources