<?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: Multi-thread unsafe functions on HPUX-11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622382#M926423</link>
    <description>Although I can't find any documentation to back me up, I am close to 100% sure that all the functions you listed are thread-safe with user-level DCE threads on 10.20.&lt;BR /&gt;&lt;BR /&gt;Not all routines needed re-entrant interfaces because they don't use static internal data, and the routines you listed would fall into this category.&lt;BR /&gt;&lt;BR /&gt;I am still very curious as to where you got the idea that these routines were thread un-safe in the first place.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 30 Nov 2001 16:12:23 GMT</pubDate>
    <dc:creator>Steven Gillard_2</dc:creator>
    <dc:date>2001-11-30T16:12:23Z</dc:date>
    <item>
      <title>Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622379#M926420</link>
      <description>I found out from techincal resources in this site that the follwoing functions are multi-thread unsafe. However, the man pages did not mention this and I do not see any reentrant functions for them. Please confirm if these functions are unsafe and so what are the alternatives. &lt;BR /&gt;select(), difftime(), mktime(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), gettimeofday()&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Thu, 29 Nov 2001 18:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622379#M926420</guid>
      <dc:creator>Subbu Saripalli</dc:creator>
      <dc:date>2001-11-29T18:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622380#M926421</link>
      <description>The functions you mention are perfectly safe to use in threads.  I'm using select, gettimeofday, sigaddset and sigemptyset in a multi-threaded program with no problems.&lt;BR /&gt;&lt;BR /&gt;What document are you reading?  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 30 Nov 2001 11:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622380#M926421</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-11-30T11:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622381#M926422</link>
      <description>Thank you Steve for your Reply. I appreciate if you can confirm that these functions are thread safe on HPUX 10.2 with DCE threads. ( I have a customer running our app on 10.2)</description>
      <pubDate>Fri, 30 Nov 2001 14:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622381#M926422</guid>
      <dc:creator>Subbu Saripalli</dc:creator>
      <dc:date>2001-11-30T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622382#M926423</link>
      <description>Although I can't find any documentation to back me up, I am close to 100% sure that all the functions you listed are thread-safe with user-level DCE threads on 10.20.&lt;BR /&gt;&lt;BR /&gt;Not all routines needed re-entrant interfaces because they don't use static internal data, and the routines you listed would fall into this category.&lt;BR /&gt;&lt;BR /&gt;I am still very curious as to where you got the idea that these routines were thread un-safe in the first place.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 30 Nov 2001 16:12:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622382#M926423</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-11-30T16:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622383#M926424</link>
      <description>Thank you Steve for your reply. On this hp web site(&lt;A href="http://www.hp.com)," target="_blank"&gt;www.hp.com),&lt;/A&gt; when I searched for " multi thread unsafe", i found a techinal resource that compares the functions between Solaris and HPUX. It gives a list of functions in a tabular format. The resource seems to be authentic.</description>
      <pubDate>Fri, 30 Nov 2001 17:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622383#M926424</guid>
      <dc:creator>Subbu Saripalli</dc:creator>
      <dc:date>2001-11-30T17:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622384#M926425</link>
      <description>Can you post the URL of the document you have found?  I haven't been able to locate it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 03 Dec 2001 09:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622384#M926425</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-12-03T09:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-thread unsafe functions on HPUX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622385#M926426</link>
      <description>It used to appear. We called HP support regarding this and may be they recalled this article.</description>
      <pubDate>Mon, 03 Dec 2001 19:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multi-thread-unsafe-functions-on-hpux-11/m-p/2622385#M926426</guid>
      <dc:creator>Subbu Saripalli</dc:creator>
      <dc:date>2001-12-03T19:06:24Z</dc:date>
    </item>
  </channel>
</rss>

