<?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 HP 10.20 Threads in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-10-20-threads/m-p/3025551#M909780</link>
    <description>I am trying to get some code running on an HP 10.2 machine and am not having much luck.  The code is written in C and contains a main routine, which kicks off a "heartbeat" thread, and then waits to receive a message indicating what other "processing" thread needs to be initiated.&lt;BR /&gt;&lt;BR /&gt;I am not very familiar with HP -- especially 10.20.  I have this code running on HP 11.0 and 11.11 machines with no problems.  I know that HP 10.20 doesn't have the posix threads as 11.0 and 11.11 do.  &lt;BR /&gt;&lt;BR /&gt;I have compiled the code utilizing the aCC compiler with the /opt/dce/include libraries.  I can get the main routine to kick off the heartbeat, but when I initiate a message that kicks off a "processing" thread, the processing thread runs, but the heartbeat thread does not run again.  At the completion of the "processing" thread, no threads run.&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me what I need to do to get the threads to work properly on 10.20?  Or perhaps some knowledge of the difference between Posix and DCE threads would be helpful.&lt;BR /&gt;&lt;BR /&gt;I appreciate any help you can provide!&lt;BR /&gt;THANKS!</description>
    <pubDate>Wed, 16 Jul 2003 14:56:28 GMT</pubDate>
    <dc:creator>Ken Hunter</dc:creator>
    <dc:date>2003-07-16T14:56:28Z</dc:date>
    <item>
      <title>HP 10.20 Threads</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-10-20-threads/m-p/3025551#M909780</link>
      <description>I am trying to get some code running on an HP 10.2 machine and am not having much luck.  The code is written in C and contains a main routine, which kicks off a "heartbeat" thread, and then waits to receive a message indicating what other "processing" thread needs to be initiated.&lt;BR /&gt;&lt;BR /&gt;I am not very familiar with HP -- especially 10.20.  I have this code running on HP 11.0 and 11.11 machines with no problems.  I know that HP 10.20 doesn't have the posix threads as 11.0 and 11.11 do.  &lt;BR /&gt;&lt;BR /&gt;I have compiled the code utilizing the aCC compiler with the /opt/dce/include libraries.  I can get the main routine to kick off the heartbeat, but when I initiate a message that kicks off a "processing" thread, the processing thread runs, but the heartbeat thread does not run again.  At the completion of the "processing" thread, no threads run.&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me what I need to do to get the threads to work properly on 10.20?  Or perhaps some knowledge of the difference between Posix and DCE threads would be helpful.&lt;BR /&gt;&lt;BR /&gt;I appreciate any help you can provide!&lt;BR /&gt;THANKS!</description>
      <pubDate>Wed, 16 Jul 2003 14:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-10-20-threads/m-p/3025551#M909780</guid>
      <dc:creator>Ken Hunter</dc:creator>
      <dc:date>2003-07-16T14:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: HP 10.20 Threads</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-10-20-threads/m-p/3025552#M909781</link>
      <description>Hi Ken,&lt;BR /&gt;&lt;BR /&gt;The main source of information for developers on hpux can be found here :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dev/technologies/topic/1,2608,10002,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dev/technologies/topic/1,2608,10002,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It has various papers on thread programming and posix/dce threads.&lt;BR /&gt;&lt;BR /&gt;Just be aware that 10.20 only implements multiple user threads - all these threads will map to a single kernel thread. Only at 11.00 was support for mapping user threads to their own kernel threads introduced. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Wed, 16 Jul 2003 15:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-10-20-threads/m-p/3025552#M909781</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-07-16T15:56:03Z</dc:date>
    </item>
  </channel>
</rss>

