used to check the threads lock by the tool windbg. Based on this blog: http://blog.csdn.net/frankiewang008/article/details/9668615