add threadmanager
Merge branch 'localKun'
shuping merge