- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Process mailbox usage simple question
Operating System - OpenVMS
1752805
Members
5721
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 03:32 AM
тАО11-19-2008 03:32 AM
Re: Process mailbox usage simple question
Good, I should read example6 for answer.
I started example6 together with example5 and it just worked.
Anybody wish to know mailboxes and reading this thread, do not make a mistake like me:
1. do not forget about differences between QIO and QIOW;
2. do not forget VMS mailboxes are not a real *mail boxes* and have no cache or buffer. To be able to put anything in immediate mode via QIOW to mailbox you should be sure there is a process that reading from mailbox.
I started example6 together with example5 and it just worked.
Anybody wish to know mailboxes and reading this thread, do not make a mistake like me:
1. do not forget about differences between QIO and QIOW;
2. do not forget VMS mailboxes are not a real *mail boxes* and have no cache or buffer. To be able to put anything in immediate mode via QIOW to mailbox you should be sure there is a process that reading from mailbox.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 05:38 AM
тАО11-19-2008 05:38 AM
Re: Process mailbox usage simple question
Or use the flags
IO$_WRITEVBLK
IO$M_NOW
IO$M_NORSWAIT
Which our systems have used since the early 90s (and still use).
cheers
Brian
IO$_WRITEVBLK
IO$M_NOW
IO$M_NORSWAIT
Which our systems have used since the early 90s (and still use).
cheers
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2008 07:07 AM
тАО11-19-2008 07:07 AM
Re: Process mailbox usage simple question
>1. do not forget about differences between QIO and QIOW;
Asynchronous versus synchronous I/O is a significant difference, yes.
2. do not forget VMS mailboxes are not a real *mail boxes* and have no cache or buffer.
False. OpenVMS mailboxes DO have caching. That's what you set with the quotas.
>To be able to put anything in immediate mode via QIOW to mailbox you should be sure there is a process that reading from mailbox
Actually, you CAN use the synchronous form with an immediate completion flag on the sys$qiow.
OpenVMS is increasingly written in C, which isn't the newest language. Of the older code, that's roughly equally split between Bliss and Macro32.
Both Bliss and C are well-suited to low-level application and OS work, but not without the various and unique weirdness that will be found in each. Both are comparatively old languages.
Read the I/O user's manual, too, while you're reading the manuals. That manual describes how mailboxes work, and it is a good bet that most folks don't understand that.
There are features in mailboxes that I would never recommend using; there are features you think you want to use and that lead to pain and grief. Here are some tips I posted last year: http://64.223.189.234/node/250
Asynchronous versus synchronous I/O is a significant difference, yes.
2. do not forget VMS mailboxes are not a real *mail boxes* and have no cache or buffer.
False. OpenVMS mailboxes DO have caching. That's what you set with the quotas.
>To be able to put anything in immediate mode via QIOW to mailbox you should be sure there is a process that reading from mailbox
Actually, you CAN use the synchronous form with an immediate completion flag on the sys$qiow.
OpenVMS is increasingly written in C, which isn't the newest language. Of the older code, that's roughly equally split between Bliss and Macro32.
Both Bliss and C are well-suited to low-level application and OS work, but not without the various and unique weirdness that will be found in each. Both are comparatively old languages.
Read the I/O user's manual, too, while you're reading the manuals. That manual describes how mailboxes work, and it is a good bet that most folks don't understand that.
There are features in mailboxes that I would never recommend using; there are features you think you want to use and that lead to pain and grief. Here are some tips I posted last year: http://64.223.189.234/node/250
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 04:19 AM
тАО11-20-2008 04:19 AM
Re: Process mailbox usage simple question
I find why example5 is freezing:
IO$M_NOW
should be added to SYS$QIOW() call
to get behavor identical there.
BTW it is mistake in manual ;)
IO$M_NOW
should be added to SYS$QIOW() call
to get behavor identical there.
BTW it is mistake in manual ;)
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP