<?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 semaphore in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537609#M728792</link>
    <description>After a process creat a semaphore, how can other processes attach this semaphore ?&lt;BR /&gt;The following functions are listed in &lt;SYS&gt;:&lt;BR /&gt;sem_init()&lt;BR /&gt;sem_destroy()&lt;BR /&gt;sem_open()&lt;BR /&gt;sem_close()&lt;BR /&gt;sem_wait()&lt;BR /&gt;sem_trywait()&lt;BR /&gt;sem_post()&lt;BR /&gt;sem_unlink()&lt;BR /&gt;sem_getvalue()&lt;BR /&gt;After typing "man" command 9 times, I find that there is no function for semaphore attach.&lt;BR /&gt;By the way, I can find what I want quickly using the online help while coding under SCO Unix.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SYS&gt;</description>
    <pubDate>Thu, 07 Jun 2001 05:51:20 GMT</pubDate>
    <dc:creator>Victor.Lin</dc:creator>
    <dc:date>2001-06-07T05:51:20Z</dc:date>
    <item>
      <title>semaphore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537609#M728792</link>
      <description>After a process creat a semaphore, how can other processes attach this semaphore ?&lt;BR /&gt;The following functions are listed in &lt;SYS&gt;:&lt;BR /&gt;sem_init()&lt;BR /&gt;sem_destroy()&lt;BR /&gt;sem_open()&lt;BR /&gt;sem_close()&lt;BR /&gt;sem_wait()&lt;BR /&gt;sem_trywait()&lt;BR /&gt;sem_post()&lt;BR /&gt;sem_unlink()&lt;BR /&gt;sem_getvalue()&lt;BR /&gt;After typing "man" command 9 times, I find that there is no function for semaphore attach.&lt;BR /&gt;By the way, I can find what I want quickly using the online help while coding under SCO Unix.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 07 Jun 2001 05:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537609#M728792</guid>
      <dc:creator>Victor.Lin</dc:creator>
      <dc:date>2001-06-07T05:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: semaphore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537610#M728793</link>
      <description>Hi Victor,&lt;BR /&gt;you can attach to a semaphore with the function sem_open() if it was created before.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;JGM&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jun 2001 07:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537610#M728793</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2001-06-07T07:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: semaphore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537611#M728794</link>
      <description>When coding in vi, try&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;:!man -k semaphore&lt;BR /&gt;&lt;BR /&gt;(in order the -k option of man to work, root has to run "catman -w" some time before).</description>
      <pubDate>Thu, 07 Jun 2001 11:59:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/semaphore/m-p/2537611#M728794</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2001-06-07T11:59:31Z</dc:date>
    </item>
  </channel>
</rss>

