<?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 Re: Thread question (11i v2) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291584#M886205</link>
    <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;The VERSION in the /usr/include/sys/pthreads.h can be used to differentiate between 1x1 or MxN model.&lt;BR /&gt;&lt;BR /&gt;#ifdef PTHREAD_COMPAT_MODE&lt;BR /&gt;#define __PTHREAD_LIBRARY_VERSION_1     0x1&lt;BR /&gt;#else&lt;BR /&gt;#define __PTHREAD_LIBRARY_VERSION_1     0x2&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;COMAT mode is 1x1 model.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;manish</description>
    <pubDate>Tue, 01 Jun 2004 01:41:44 GMT</pubDate>
    <dc:creator>Manish Srivastava</dc:creator>
    <dc:date>2004-06-01T01:41:44Z</dc:date>
    <item>
      <title>Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291583#M886204</link>
      <description>Hello All, &lt;BR /&gt;&lt;BR /&gt;How to find at run time, whether a running application uses 1x1 or MxN thread model ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun</description>
      <pubDate>Tue, 01 Jun 2004 01:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291583#M886204</guid>
      <dc:creator>Arunvijai.S</dc:creator>
      <dc:date>2004-06-01T01:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291584#M886205</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;The VERSION in the /usr/include/sys/pthreads.h can be used to differentiate between 1x1 or MxN model.&lt;BR /&gt;&lt;BR /&gt;#ifdef PTHREAD_COMPAT_MODE&lt;BR /&gt;#define __PTHREAD_LIBRARY_VERSION_1     0x1&lt;BR /&gt;#else&lt;BR /&gt;#define __PTHREAD_LIBRARY_VERSION_1     0x2&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;COMAT mode is 1x1 model.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Tue, 01 Jun 2004 01:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291584#M886205</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-01T01:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291585#M886206</link>
      <description>Hello Manish, &lt;BR /&gt;&lt;BR /&gt;Thanks for your answer. I want to find whether a running application uses 1x1 thread model or MxN threads on 11iV2. Am i clear with my question? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun</description>
      <pubDate>Tue, 01 Jun 2004 01:47:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291585#M886206</guid>
      <dc:creator>Arunvijai.S</dc:creator>
      <dc:date>2004-06-01T01:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291586#M886207</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;You can use gdb to attach to the process and then print the value of _TALL_1x1. If it is set to 1 then the application is using 1x1 model else it is using MxN model.&lt;BR /&gt;&lt;BR /&gt;manish.</description>
      <pubDate>Tue, 01 Jun 2004 01:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291586#M886207</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-01T01:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291587#M886208</link>
      <description>Hello Manish, &lt;BR /&gt;&lt;BR /&gt;Yes, Using gdb would work. Are there any tools like elfdump, odump, nm available with HPUX to find this out ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun</description>
      <pubDate>Tue, 01 Jun 2004 05:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291587#M886208</guid>
      <dc:creator>Arunvijai.S</dc:creator>
      <dc:date>2004-06-01T05:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291588#M886209</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;I am sorry I do not know about any such tool for this :-(.&lt;BR /&gt;&lt;BR /&gt;manish.</description>
      <pubDate>Tue, 01 Jun 2004 05:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291588#M886209</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-01T05:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291589#M886210</link>
      <description>Hello Manish,&lt;BR /&gt;&lt;BR /&gt;I have compiled a test program with -DPTHREAD_COMPAT_MODE and tested it with gdb. &lt;BR /&gt;After pthread creation, i tried to find symbol _TALL_1x1 using print. It didnt turm out anything. &lt;BR /&gt;&lt;BR /&gt;(gdb) s&lt;BR /&gt;[Switching to process 27708]&lt;BR /&gt;main () at test.c:17&lt;BR /&gt;17              pthread_exit(NULL);&lt;BR /&gt;(gdb) p _TALL_1x1&lt;BR /&gt;No symbol "_TALL_1x1" in current context.&lt;BR /&gt;&lt;BR /&gt;How to get the symbol information ? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun</description>
      <pubDate>Tue, 01 Jun 2004 05:41:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291589#M886210</guid>
      <dc:creator>Arunvijai.S</dc:creator>
      <dc:date>2004-06-01T05:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291590#M886211</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;_TALL_1x1 is a newly added macro in the latest release. If you are running on earlier release you will not see this and it means that you are running 1x1 model.&lt;BR /&gt;&lt;BR /&gt;There is another variable __MxN which is newly add which can be used to find out whether you are running 1x1 or MxN.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;manish.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2004 05:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291590#M886211</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-03T05:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Thread question (11i v2)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291591#M886212</link>
      <description>Hello Manish, &lt;BR /&gt;&lt;BR /&gt;Which release you are refering to ? LR or IC ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun</description>
      <pubDate>Thu, 03 Jun 2004 09:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-question-11i-v2/m-p/3291591#M886212</guid>
      <dc:creator>Arunvijai.S</dc:creator>
      <dc:date>2004-06-03T09:23:45Z</dc:date>
    </item>
  </channel>
</rss>

