<?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: Support for POSIX semaphores? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504357#M31902</link>
    <description>Thank you for your help.  $ENQ sounds like the best bet.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Mar 2005 09:14:06 GMT</pubDate>
    <dc:creator>Mark Fletcher_4</dc:creator>
    <dc:date>2005-03-15T09:14:06Z</dc:date>
    <item>
      <title>Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504352#M31897</link>
      <description>Is there any add-on functionality for POSIX semaphores for OpenVMS?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2005 16:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504352#M31897</guid>
      <dc:creator>Mark Fletcher_4</dc:creator>
      <dc:date>2005-03-14T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504353#M31898</link>
      <description>Oops, I meant UNIX System V-style semaphore system calls (semget, semop, semctl).  Are these available or obtainable?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2005 17:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504353#M31898</guid>
      <dc:creator>Mark Fletcher_4</dc:creator>
      <dc:date>2005-03-14T17:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504354#M31899</link>
      <description>&lt;A href="http://h71000.www7.hp.com/portability/future_plans.html" target="_blank"&gt;http://h71000.www7.hp.com/portability/future_plans.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I guess not yet.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 15 Mar 2005 02:15:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504354#M31899</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-03-15T02:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504355#M31900</link>
      <description>Mark,&lt;BR /&gt;AFAIK, and I checked the info on the latest version of the CRTL, there is no support for POSIX style semaphores.&lt;BR /&gt;The closest you can get, is writing your own routines based on VMS mutexes (mutual exclusion semaphores). There are (undocumented) routines that allow for manipulation of semaphores&lt;BR /&gt;( SCH$LOCKR(_QUAD), SCH$LOCKW(_QUAD), SCH$LOCKWNOWAIT(_QUAD), SCH$UNLOCK(_QUAD) )&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 03:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504355#M31900</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-03-15T03:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504356#M31901</link>
      <description>You would be better using locks ($ENQ etc) that the undocumented routines that may change whenever HP want to.</description>
      <pubDate>Tue, 15 Mar 2005 05:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504356#M31901</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-03-15T05:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504357#M31902</link>
      <description>Thank you for your help.  $ENQ sounds like the best bet.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 09:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504357#M31902</guid>
      <dc:creator>Mark Fletcher_4</dc:creator>
      <dc:date>2005-03-15T09:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504358#M31903</link>
      <description>Perhaps the best solution has already been discussed but I wonder if pthread condition variables might not be another, perhaps more portable solution.  If synchronization between processes (vs threads) is desired then aren't shared mutexes and condition variables available with the latest pthreads implementation for OpenVMS?&lt;BR /&gt;&lt;BR /&gt;Of course the problem with this solution is that there isn't a portable solution for shared memory that I know of.  I guess on VMS you'd have to use global sections.&lt;BR /&gt;&lt;BR /&gt;Caveat: I haven't actually tried using shared pthread mutexes and conditions in a global section on VMS.&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 10:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504358#M31903</guid>
      <dc:creator>Bruce Visscher_1</dc:creator>
      <dc:date>2005-03-15T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504359#M31904</link>
      <description>The Rolling Roadmap has something about semaphores where it talks about GNV and VMS V8.3. Go to &lt;A href="http://h71000.www7.hp.com/openvms/roadmap/openvms_roadmaps.htm" target="_blank"&gt;http://h71000.www7.hp.com/openvms/roadmap/openvms_roadmaps.htm&lt;/A&gt; and download the "PDF W/Speaker Notes." If you search it for "semaphores" you'll find this text in between two bullets about GNV on page 15:&lt;BR /&gt;&lt;BR /&gt;"Semaphores are similar to VMS locking and is used to coordinating or synchronizing activities in which multiple processes compete for the same operating system resources."&lt;BR /&gt;&lt;BR /&gt;The chart accompanying that text includes "Semaphores" in the OpenVMS V8.3 box, which is shown elsewhere in the presentation as projected for H1 2006.</description>
      <pubDate>Tue, 15 Mar 2005 12:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504359#M31904</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2005-03-15T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504360#M31905</link>
      <description>Oops. I forgot to state:&lt;BR /&gt;&lt;BR /&gt;Mark, I don't know if the usage of Semaphores in the roadmap corresponds with the System V functionality you're looking for. And it certainly isn't of any immediate help to you...</description>
      <pubDate>Tue, 15 Mar 2005 12:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504360#M31905</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2005-03-15T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504361#M31906</link>
      <description>Correct me if I am wrong, but the $ENQ and $DEQ system calls do not appear to provide "counting" functionality, as in counting semaphores.</description>
      <pubDate>Tue, 15 Mar 2005 14:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504361#M31906</guid>
      <dc:creator>Mark Fletcher_4</dc:creator>
      <dc:date>2005-03-15T14:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504362#M31907</link>
      <description>Mark, parhaps you can explain the counting function then someone may be able to suggest how to do it.</description>
      <pubDate>Wed, 16 Mar 2005 04:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504362#M31907</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-03-16T04:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Support for POSIX semaphores?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504363#M31908</link>
      <description>Counting semaphores are/were provided by PPL routines:&lt;BR /&gt;&lt;BR /&gt;PPL$CREATE_SEMAPHORE Creates and initializes a semaphore with a&lt;BR /&gt;waiting queue&lt;BR /&gt;PPL$DECREMENT_SEMAPHORE Waits for the semaphore to have a value&lt;BR /&gt;greater than zero and then decrements the&lt;BR /&gt;semaphore&lt;BR /&gt;PPL$INCREMENT_SEMAPHORE Increments the value of a semaphore by 1&lt;BR /&gt;&lt;BR /&gt;but these do not seem to work in 7.2-3.  I can't get a valid semaphore ID back from PPL$CREATE_SEMAPHORE.</description>
      <pubDate>Wed, 16 Mar 2005 16:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/support-for-posix-semaphores/m-p/3504363#M31908</guid>
      <dc:creator>Mark Fletcher_4</dc:creator>
      <dc:date>2005-03-16T16:05:26Z</dc:date>
    </item>
  </channel>
</rss>

