[Info-vax] Looking into C-include files on VMS
Bill Gunshannon
billg999 at cs.uofs.edu
Thu Nov 5 17:15:05 EST 2009
In article <baOjfZKhGtEy at eisner.encompasserve.org>,
koehler at eisner.nospam.encompasserve.org (Bob Koehler) writes:
> In article <7ld3naF3d1kahU4 at mid.individual.net>, billg999 at cs.uofs.edu (Bill Gunshannon) writes:
>> In article <hcrfk0$bth$3 at naig.caltech.edu>,
>> glen herrmannsfeldt <gah at ugcs.caltech.edu> writes:
>>>
>>> I presume VMS has some way to share data when needed, though.
>>
>> None that I have ever seen.
>>
>
> You haven't seen mmap()? Or $CRMPSC? Or an installed, writable
> section?
The discussion was about fork(), not mmap(). The sharing done between
forked processes is, as far as I know, not possible under VMS. That
is, there is no way for two processes to both have the ability to
read/write the exact same variables and devices. Unix fork() does
this precisely. For an easy to understand example, just take a look
at the source to the connect portion of UXKermit. The program opens
a serial device, forks and then one process handles input from the
serial port while another process handles output thru that same serial
port. Can two totally separate processes under VMS both access a single
serial port simultaneously?
bill
--
Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
billg999 at cs.scranton.edu | and a sheep voting on what's for dinner.
University of Scranton |
Scranton, Pennsylvania | #include <std.disclaimer.h>
More information about the Info-vax
mailing list