<?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: POSIX.4 API in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655723#M32911</link>
    <description>What's the context in which ACE requires this call?  Nulling out the call should at most have some performance impact and not otherwise affect the functioning of the library.  If it does, then ACE is using&lt;BR /&gt;scheduling policy for synchronization, which is wrong.</description>
    <pubDate>Mon, 24 Oct 2005 19:41:22 GMT</pubDate>
    <dc:creator>David Jones_21</dc:creator>
    <dc:date>2005-10-24T19:41:22Z</dc:date>
    <item>
      <title>POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655712#M32900</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Am porting the ACE OS library to OpenVms Alpha 8.2.&lt;BR /&gt;&lt;BR /&gt;The compiler complains about the POSIX.1b (POSIX.4) API sched_setscheduler (). I have seen all sorts of conflicting reports about OpenVMS POSIX.4 support. There seems to have been a POSIX library with this API long ago, not anymore though. If this API isn't present, anyone have a clue on the OpenVMS equivalent for setting process scheduling policies?&lt;BR /&gt;&lt;BR /&gt;I am a novice to OpenVMS, so may be missing something obvious here. Any help on this will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Ciju&lt;BR /&gt;&lt;BR /&gt;bash$ cxx --version&lt;BR /&gt;GNV Nov 24 2004 10:09:12&lt;BR /&gt;Compaq C++ V6.5-004 for OpenVMS Alpha V8.2&lt;BR /&gt;bash$ uname -a&lt;BR /&gt;OpenVMS VMS 0 V8.2 AlphaServer_ES40 Alpha&lt;BR /&gt; bash --version&lt;BR /&gt;GNU BASH, version 1.14.8(0) s4</description>
      <pubDate>Sun, 23 Oct 2005 23:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655712#M32900</guid>
      <dc:creator>ciju john</dc:creator>
      <dc:date>2005-10-23T23:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655713#M32901</link>
      <description>Ciju,&lt;BR /&gt;&lt;BR /&gt;The following link says that "Support for the POSIX package on more recent OpenVMS releases is not available, various parts of POSIX such as calls from the API are being integrated more directly into OpenVMS"!!!.&lt;BR /&gt;&lt;BR /&gt;For the earlier version of VMS, the POSIX &lt;BR /&gt;package came seperately in the"consolidated Distribution CD". From the below link, I understand that POSIX equivalent routines are added within OpenVMS. The name of the specific scheduler related routines may be difft. In that case we have to replace few of POSIX routines with standard OpenVMS routines. I hope HP may have support software for this type of porting work (if they really replaced all POSIX API with their own routines in the latest OpenVMS versions).&lt;BR /&gt;&lt;BR /&gt;Please go thru the following link...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gd.tuwien.ac.at/faqs/allfaqs/news./OpenVMS_Frequently_Asked_Questions_(FAQ),_Part_2_9" target="_blank"&gt;http://gd.tuwien.ac.at/faqs/allfaqs/news./OpenVMS_Frequently_Asked_Questions_(FAQ),_Part_2_9&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2005 01:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655713#M32901</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2005-10-24T01:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655714#M32902</link>
      <description>the POSIX stuff was being added to the C RTL.&lt;BR /&gt;Parhaps the C RTL manual will help&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/commercial/c/docs/6180PROFILE.html" target="_blank"&gt;http://h71000.www7.hp.com/commercial/c/docs/6180PROFILE.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/commercial/c/docs/lrm.pdf" target="_blank"&gt;http://h71000.www7.hp.com/commercial/c/docs/lrm.pdf&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2005 06:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655714#M32902</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-10-24T06:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655715#M32903</link>
      <description>Thanks Ian &amp;amp; Archunan,&lt;BR /&gt;&lt;BR /&gt;I have already pored over all these links. In a way those confuse me more than anything. Especially the link that talks about the now discontinued POSIX package. I have greped the library header files, gonne over HP pdf's searching for references to sched_setscheduler, all invain. I find it hard to believe that a platform will achieve POSIX compliance and then take it apart. My stuborn refusal to accept it is probably what has driven me for days searching for this.&lt;BR /&gt;&lt;BR /&gt;However now I have sort of given up and am looking for alternate OpenVMS process scheduling API. Again I have poured over the HP documentations and haven't found anything. Its probably here that members of this forum can guide me better. Pointers anyone...&lt;BR /&gt;&lt;BR /&gt;Thanks again...&lt;BR /&gt;&lt;BR /&gt;Ciju</description>
      <pubDate>Mon, 24 Oct 2005 08:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655715#M32903</guid>
      <dc:creator>ciju john</dc:creator>
      <dc:date>2005-10-24T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655716#M32904</link>
      <description>Does the class  scheduler do what you want?&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_012.html#index_x_469" target="_blank"&gt;http://h71000.www7.hp.com/doc/82FINAL/5841/5841pro_012.html#index_x_469&lt;/A&gt;&lt;BR /&gt;for some overview documetation&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2005 08:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655716#M32904</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-10-24T08:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655717#M32905</link>
      <description>Ciju,&lt;BR /&gt;&lt;BR /&gt;Yes I knew this is very hard to find VMS equivalent system routine for POSIX SCHED-setscheduler related routine. As the doc clearly mention that OpenVMS now has all those POSIX standard routine, either we can get help thru HP or we have to study all scheduler routine wich works for both single and multithread support. I hope that there may be some solutions using which we can let the OpenVMS to interpret those POSIX APIs. &lt;BR /&gt;&lt;BR /&gt;When DEC jumped out of VAX to Alpha, we happended to face lots of difficulties to port our MACRO 32 source to MACRO 64. Though HP said that we need to do little simple modifications here and there to run those VAX MACRO on Alpha, but we had big difficulties finding equivalent ALpha routines with difft set of arg and paddging. HP did not give any standard complete solution for this type of porting.&lt;BR /&gt;&lt;BR /&gt;I hope you can easily find the POSIX compliance calls and some docs with the help of HP.&lt;BR /&gt;&lt;BR /&gt;If you can able to post any one or two POSIX routines (with complete arguments datum), I can do trial to find the equivalence in OpenVMS. But as now I am struggling with my MACRO 64 compiler, I may not give quick answer.&lt;BR /&gt;&lt;BR /&gt;Archunan</description>
      <pubDate>Mon, 24 Oct 2005 09:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655717#M32905</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2005-10-24T09:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655718#M32906</link>
      <description>Ciju,&lt;BR /&gt;&lt;BR /&gt;did you have a look at the Guide to the POSIX Threads Library (previously: Guide to DECthreads) at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/6493/6101PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/6493/6101PRO.HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 24 Oct 2005 09:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655718#M32906</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-10-24T09:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655719#M32907</link>
      <description>Thanks again Archunan,&lt;BR /&gt;&lt;BR /&gt;int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p);&lt;BR /&gt;&lt;BR /&gt;I will post my questions to the OpenVMS Wizard. Upon Volkers suggestions I looked through all the POSIX pthread interfaces. This is the implementation of the POISIX.1 standard. The scheduling standard I believe is POSIX.1b (formerly .4).&lt;BR /&gt;&lt;BR /&gt;I just discovered something. man sched_setscheduler on Linux says:&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;POSIX  systems  on  which  sched_setscheduler  and  sched_getscheduler  are  available  define _POSIX_PRIORITY_SCHEDULING in &lt;UNISTD.H&gt;.&lt;BR /&gt;&lt;/UNISTD.H&gt;&lt;BR /&gt;&lt;BR /&gt;This being not defined on OpenVMS, I guess its fair to assume that the API isn't available. Surprising though since it was part of the POSIX package in earlier OpenVMS releases. I will post my qustion to the Wizard and post any replies here.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Ciju&lt;BR /&gt;&lt;/QUOTE&gt;</description>
      <pubDate>Mon, 24 Oct 2005 10:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655719#M32907</guid>
      <dc:creator>ciju john</dc:creator>
      <dc:date>2005-10-24T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655720#M32908</link>
      <description>Ciju,&lt;BR /&gt;&lt;BR /&gt;I've found another interesting table created by the people porting OpenOffice to OpenVMS:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oooovms.dyndns.org/reference/System_Interface_Table_S.htmlx" target="_blank"&gt;http://www.oooovms.dyndns.org/reference/System_Interface_Table_S.htmlx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It seems to list all UNIX System Call interfaces and their availability on OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;sched_setscheduler() is marked as not available.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2005 11:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655720#M32908</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-10-24T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655721#M32909</link>
      <description>sched_setscheduler is not available, but you already figured that out.&lt;BR /&gt;&lt;BR /&gt;Regarding why it was once present, but now it is gone...  It was likely present as part of the POSIX for VMS product which was a layered product on top of VMS.  That product did or did not work well (depending on who you ask), and has long since been retired.  That is why the API in question is no longer available. &lt;BR /&gt;&lt;BR /&gt;The APIs in the spreadsheet from the OpenOffice folks are all native APIs, no need to add any other products or layers.</description>
      <pubDate>Mon, 24 Oct 2005 11:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655721#M32909</guid>
      <dc:creator>Brad McCusker</dc:creator>
      <dc:date>2005-10-24T11:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655722#M32910</link>
      <description>Thanks Brad and Volker,&lt;BR /&gt;&lt;BR /&gt;The OpenOffice table is great. Too bad its not targeting version 8.2, but still its better than vacum I was in earlier.&lt;BR /&gt;&lt;BR /&gt;Brad your comments make sense, so I will look for VMS alternates to it. Those should be part of the RT scheduling package. Any one have idea on where I might find documentations for those.&lt;BR /&gt;&lt;BR /&gt;thanks all,&lt;BR /&gt;&lt;BR /&gt;Ciju</description>
      <pubDate>Mon, 24 Oct 2005 12:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655722#M32910</guid>
      <dc:creator>ciju john</dc:creator>
      <dc:date>2005-10-24T12:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655723#M32911</link>
      <description>What's the context in which ACE requires this call?  Nulling out the call should at most have some performance impact and not otherwise affect the functioning of the library.  If it does, then ACE is using&lt;BR /&gt;scheduling policy for synchronization, which is wrong.</description>
      <pubDate>Mon, 24 Oct 2005 19:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655723#M32911</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2005-10-24T19:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: POSIX.4 API</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655724#M32912</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;I agree, and thats what I ended up doing. What I was concerned about was that down the road I would hit something more critical.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Ciju</description>
      <pubDate>Tue, 25 Oct 2005 00:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/posix-4-api/m-p/3655724#M32912</guid>
      <dc:creator>ciju john</dc:creator>
      <dc:date>2005-10-25T00:10:19Z</dc:date>
    </item>
  </channel>
</rss>

