add thread deadlock doc