[Info-vax] Looking into C-include files on VMS

John E. Malmberg wb8tyw at qsl.network
Mon Nov 9 20:19:44 EST 2009


Bob Koehler wrote:
> In article <00b1383d$0$6718$c3e8da3 at news.astraweb.com>, JF Mezei <jfmezei.spamnot at vaxination.ca> writes:
>> Bob Koehler wrote:
>>
>>>    So how do you both enforce the existing I/O rules and break them?  To
>>>    date VMS Engineering has not taken on that dilema.
>> Instead of creating a new process (which for VMS means a separate entity
>> with thick walls all around), couldn't they "fake" a new process by
>> creating a thread disguised as a process ?
> 
>    I've been working on that very idea in one of my little pet projects.
>    (Write a fork() emulation in POSIX threads.)  Not trivial, there are
>    lots of little details and they will all come and get you.

It will be interesting to see what you come up with.

There is an unused bit in the PID that you can used to create fake pids 
for the simulated children.  That way your routines can mix real and 
fake pids.

It may be practical to use lib$find_image_symbol to load in exec() images.

-John
wb8tyw at qsl.network
Personal Opinion Only



More information about the Info-vax mailing list