how to find deadlock scenario using gdb

来源:互联网 发布:diy相册软件 编辑:程序博客网 时间:2024/05/17 01:59
1. reporduce you deadlock scenario
2. attach pid which you think is in deadlock
3. print call stack of all thread using(info thread, thread thread#, bt) using ddd with thread, backtrace dialog is quickly
原创粉丝点击