From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2a278b4da5a63dde,start X-Google-Attributes: gid1164f8,public From: David Bratton Subject: Re: "fork" in OpenVMS C compiler Date: 1996/03/08 Message-ID: <31406F8E.4E45@uh.edu>#1/1 X-Deja-AN: 142174003 references: <4hk71r$76o@graph24.unipv.it> to: Alessandro Bruciamonti content-type: text/plain; charset=us-ascii organization: University of Houston System mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 2.0GoldB1 (WinNT; I) Alessandro Bruciamonti wrote: > > Hello all! > > I'm doing a porting of some software from Unix (Sun Solaris 2.3) to > OpenVMS (DEC OpenVMS AXP - V6.1-1H2). > > This software uses (intensively) the "fork" C function to open a "child" > (independent and reentrant) process that runs concurrently with the > parent process. > > On DEC I saw a similar function named "vfork", but I can't replace > "fork" with "vfork" as this is not reentrant (the child > process is started, but it never returns control to the parent, nor > allows the parent process to run cuncurrently)... > > Is there a replacement for "fork" for VMS C compilers ? > > Thank you in advance ... > > Greetings from Italy! > > -- > Alessandro "Alex" Bruciamonti > -- > alex@gateway.unipv.it (INTERNET) > IW2CNM@IK2HDG.ILOM.ITA.EU (AX-25) I think the LIB$SPAWN rtl routine is what you want. David Bratton University of Houston System DBratton@uh.edu