<?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 create, join --- in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806314#M508435</link>
    <description>Starting a Thread:&lt;BR /&gt;------------------&lt;BR /&gt;To start a thread, create it using the pthread_create( ) routine. This routine creates the&lt;BR /&gt;thread, assigns specified or default attributes, and starts execution of the function you&lt;BR /&gt;specified as the threadâ  s start routine. A unique identifier (handle) for that thread is&lt;BR /&gt;returned by the pthread_create( ) routine.&lt;BR /&gt;Terminating a Thread:&lt;BR /&gt;---------------------&lt;BR /&gt;A thread terminates for any of the following reasons:&lt;BR /&gt;g The thread returns from its start routine; this is the usual case.&lt;BR /&gt;g The thread calls the pthread_exit( ) routine. The pthread_exit( ) routine terminates&lt;BR /&gt;the calling thread and returns a status value, indicating the threadâ  s exit status to any&lt;BR /&gt;other thread that may be waiting for its termination.&lt;BR /&gt;g The thread is canceled by a call to the pthread_cancel( ) routine. The&lt;BR /&gt;pthread_cancel( ) routine requests termination of a specified thread if the thread&lt;BR /&gt;allows cancellation. (See Section 3.5 for more information on cancelling threads and&lt;BR /&gt;controlling whether or not cancellation is permitted.)&lt;BR /&gt;g An unhandled exception occurs in the thread.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;refer man pages for:&lt;BR /&gt;pthread_create(3T), wait(2), pthread_join, pthread_cancel( ), pthread_exit(3T), pthread_join(3T), pthread_setcancelstate(3T),&lt;BR /&gt;pthread_cleanup_pop(3T), pthread_cond_wait(3T).&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jun 2006 08:04:42 GMT</pubDate>
    <dc:creator>inventsekar_1</dc:creator>
    <dc:date>2006-06-15T08:04:42Z</dc:date>
    <item>
      <title>thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806312#M508433</link>
      <description>Pls, tell me examples about &lt;BR /&gt;&lt;BR /&gt;thread object creation,&lt;BR /&gt;thread creation,&lt;BR /&gt;thread join,&lt;BR /&gt;thread exit</description>
      <pubDate>Thu, 15 Jun 2006 07:42:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806312#M508433</guid>
      <dc:creator>kommineni_1</dc:creator>
      <dc:date>2006-06-15T07:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806313#M508434</link>
      <description>Programming With Threads on HP-UX:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/files/unprotected/ProgThreads.pdf" target="_blank"&gt;http://h21007.www2.hp.com/dspp/files/unprotected/ProgThreads.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Thu, 15 Jun 2006 07:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806313#M508434</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-06-15T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806314#M508435</link>
      <description>Starting a Thread:&lt;BR /&gt;------------------&lt;BR /&gt;To start a thread, create it using the pthread_create( ) routine. This routine creates the&lt;BR /&gt;thread, assigns specified or default attributes, and starts execution of the function you&lt;BR /&gt;specified as the threadâ  s start routine. A unique identifier (handle) for that thread is&lt;BR /&gt;returned by the pthread_create( ) routine.&lt;BR /&gt;Terminating a Thread:&lt;BR /&gt;---------------------&lt;BR /&gt;A thread terminates for any of the following reasons:&lt;BR /&gt;g The thread returns from its start routine; this is the usual case.&lt;BR /&gt;g The thread calls the pthread_exit( ) routine. The pthread_exit( ) routine terminates&lt;BR /&gt;the calling thread and returns a status value, indicating the threadâ  s exit status to any&lt;BR /&gt;other thread that may be waiting for its termination.&lt;BR /&gt;g The thread is canceled by a call to the pthread_cancel( ) routine. The&lt;BR /&gt;pthread_cancel( ) routine requests termination of a specified thread if the thread&lt;BR /&gt;allows cancellation. (See Section 3.5 for more information on cancelling threads and&lt;BR /&gt;controlling whether or not cancellation is permitted.)&lt;BR /&gt;g An unhandled exception occurs in the thread.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;refer man pages for:&lt;BR /&gt;pthread_create(3T), wait(2), pthread_join, pthread_cancel( ), pthread_exit(3T), pthread_join(3T), pthread_setcancelstate(3T),&lt;BR /&gt;pthread_cleanup_pop(3T), pthread_cond_wait(3T).&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 08:04:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806314#M508435</guid>
      <dc:creator>inventsekar_1</dc:creator>
      <dc:date>2006-06-15T08:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806315#M508436</link>
      <description>Attached a Good HP-UX Threads Example program from that pdf only.</description>
      <pubDate>Thu, 15 Jun 2006 08:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806315#M508436</guid>
      <dc:creator>inventsekar_1</dc:creator>
      <dc:date>2006-06-15T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806316#M508437</link>
      <description>Your response is very valuable.&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 23:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806316#M508437</guid>
      <dc:creator>kommineni_1</dc:creator>
      <dc:date>2006-06-15T23:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: thread create, join ---</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806317#M508438</link>
      <description>but u forget to assign points.</description>
      <pubDate>Fri, 16 Jun 2006 02:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/thread-create-join/m-p/3806317#M508438</guid>
      <dc:creator>inventsekar_1</dc:creator>
      <dc:date>2006-06-16T02:00:42Z</dc:date>
    </item>
  </channel>
</rss>

