Add myPrint() in threads/thread.cc for debug