<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to map thread ids from gpm to pthread ids in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-map-thread-ids-from-gpm-to-pthread-ids/m-p/3850724#M98080</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm currently debugging a process hang using   &lt;BR /&gt;gpm. When I connect to the process and list its threads with the gpm process thread window, I get a list of thread ids. I'm need to map these thread ids to the thread ids inside the process as reported by pthread_self().&lt;BR /&gt;&lt;BR /&gt;For this particular issue gdb cannot be used to examine the process because gdb hangs when attempting to connect to the process in the hung state, so I dump my own stack from inside the process using&lt;BR /&gt;U_STACK_TRACE() for each thread and report its thread id with pthread_self(). These numbers do not match.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Colin Florendo</description>
    <pubDate>Fri, 25 Aug 2006 15:05:19 GMT</pubDate>
    <dc:creator>cflorendo</dc:creator>
    <dc:date>2006-08-25T15:05:19Z</dc:date>
    <item>
      <title>How to map thread ids from gpm to pthread ids</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-map-thread-ids-from-gpm-to-pthread-ids/m-p/3850724#M98080</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm currently debugging a process hang using   &lt;BR /&gt;gpm. When I connect to the process and list its threads with the gpm process thread window, I get a list of thread ids. I'm need to map these thread ids to the thread ids inside the process as reported by pthread_self().&lt;BR /&gt;&lt;BR /&gt;For this particular issue gdb cannot be used to examine the process because gdb hangs when attempting to connect to the process in the hung state, so I dump my own stack from inside the process using&lt;BR /&gt;U_STACK_TRACE() for each thread and report its thread id with pthread_self(). These numbers do not match.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Colin Florendo</description>
      <pubDate>Fri, 25 Aug 2006 15:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-map-thread-ids-from-gpm-to-pthread-ids/m-p/3850724#M98080</guid>
      <dc:creator>cflorendo</dc:creator>
      <dc:date>2006-08-25T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to map thread ids from gpm to pthread ids</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-map-thread-ids-from-gpm-to-pthread-ids/m-p/3850725#M98081</link>
      <description>Hi Colin Florendo,&lt;BR /&gt;&lt;BR /&gt;i am not good on thread programming but i remember a link where u can find information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5944,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5944,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sorry, if this is not what u want.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 16:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-map-thread-ids-from-gpm-to-pthread-ids/m-p/3850725#M98081</guid>
      <dc:creator>inventsekar_1</dc:creator>
      <dc:date>2006-08-25T16:26:49Z</dc:date>
    </item>
  </channel>
</rss>

