<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 在Solaris上使用maintenance命令查看線程信息 ## 技巧 用gdb調試多線程程序時,如果想查看線程信息,可以使用“i threads”命令(i是info命令縮寫),例如: (gdb) i threads 106 process 2689429 0xff04af84 in __lwp_park () from /lib/libc.so.1 105 process 2623893 0xff04af84 in __lwp_park () from /lib/libc.so.1 104 process 2558357 0xff04af84 in __lwp_park () from /lib/libc.so.1 103 process 2492821 0xff04af84 in __lwp_park () from /lib/libc.so.1 在Solaris操作系統上,gdb為Solaris量身定做了一個查看線程信息的命令:“maint info sol-threads”(maint是maintenance命令縮寫),例如: (gdb) maint info sol-threads user thread #1, lwp 1, (active) user thread #2, lwp 2, (active) startfunc: monitor_thread user thread #3, lwp 3, (asleep) startfunc: mem_db_thread - Sleep func: 0x000aa32c 可以看到相比于info命令,maintenance命令顯示了更多信息。例如線程當前狀態(active,asleep),入口函數(startfunc)等。 參見[gdb手冊](https://sourceware.org/gdb/onlinedocs/gdb/Threads.html) ## 貢獻者 nanxiao
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看