Appdome interview question

code review of Python code (multithreaded code, analyzing potential problems)