<?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: porting code to HP-UX IPF in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362497#M684232</link>
    <description>&lt;P&gt;Is this from Solaris?&lt;BR /&gt;None of the lwp functions are available to customers on HP-UX.&lt;BR /&gt;What does this code do? Why aren't you using pthreads?&lt;/P&gt;</description>
    <pubDate>Sun, 04 Sep 2011 11:03:06 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-04T11:03:06Z</dc:date>
    <item>
      <title>porting code to HPUX IA64</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362495#M684230</link>
      <description>Hi guys,&lt;BR /&gt;I need to port this fragment of code on HPUX/IA64 but I wasn't able to find any equivalence.&lt;BR /&gt;&lt;BR /&gt;The code for HP PARISC is the following&lt;BR /&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;        struct lwpinfo lwpinfo;&lt;BR /&gt;&lt;BR /&gt;        if (_lwp_info(&amp;amp;lwpinfo))&lt;BR /&gt;        {&lt;BR /&gt;                return -1;&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;the code for other platform is that&lt;BR /&gt;&lt;BR /&gt;        if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &amp;amp;ts) == -1)&lt;BR /&gt;        {&lt;BR /&gt;                        perror("clock_gettime");&lt;BR /&gt;                        return -1;&lt;BR /&gt;                }&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any suggestion&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 19 Feb 2009 16:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362495#M684230</guid>
      <dc:creator>Marco Salvi</dc:creator>
      <dc:date>2009-02-19T16:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: porting code to HPUX IA64</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362496#M684231</link>
      <description>This isn't very clear, and may be why you aren't getting any responses.  you mention IA64, show PA-Risc and then "other platform"???&lt;BR /&gt;&lt;BR /&gt;is it that you can't find "lwp.h" or what?</description>
      <pubDate>Thu, 19 Feb 2009 19:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362496#M684231</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-02-19T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: porting code to HP-UX IPF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362497#M684232</link>
      <description>&lt;P&gt;Is this from Solaris?&lt;BR /&gt;None of the lwp functions are available to customers on HP-UX.&lt;BR /&gt;What does this code do? Why aren't you using pthreads?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2011 11:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362497#M684232</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-04T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: porting code to HPUX IA64</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362498#M684233</link>
      <description>the code return the amount of time spent in a thread in a struct (second, nanosecond)&lt;BR /&gt;&lt;BR /&gt;Does pthread lib have something that can do the job?&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 10:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362498#M684233</guid>
      <dc:creator>Marco Salvi</dc:creator>
      <dc:date>2009-02-20T10:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: porting code to HP-UX IPF</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362499#M684234</link>
      <description>&lt;P&gt;&amp;gt;the code return the amount of time spent in a thread&lt;BR /&gt;&lt;BR /&gt;Well there is clock_gettime(CLOCK_VIRTUAL) but that is per process.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2011 11:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/porting-code-to-hpux-ia64/m-p/4362499#M684234</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-04T11:03:39Z</dc:date>
    </item>
  </channel>
</rss>

