thread修正