Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!ogicse!ucsd!helios.ee.lbl.gov!nosc!crash!theweav!rickf From: rickf@theweav.cts.com (Rick Flower) Newsgroups: comp.sys.amiga.tech Subject: Code Available for Spawning Multiple Reentrant Processes.. Message-ID: <00169.AA00169@theweav.cts.com> Date: 19 Mar 90 01:04:26 GMT Followup-To: comp.sys.amiga.tech Lines: 31 Expires: Keywords: For those of you that may be interested in an easy way to have a single "parent" process load a Re-Entrant "Child" process via the LoadSeg command and spawn it several times, I may have something that may interest you.. Several months ago I was trying to dig up information (any I could find!) on creating processes under AmigaDos.. The information that I found was very limited, but sufficient to get my curiousity running on overtime.. Anyway, I got the software working for the most part, with the exception of a minor bug which I couldn't track down.. Anyway, I came up with the solution in my sleep the other day and now it works 100%.. I can spawn a single child process 6 times (just the arbitrary value I chose) and have each child process dynamically allocate it's own arrays for local storage and each write a file on the VD0: ram disk without problems... I must emphasize that I am ONLY LoadSeg'ing the child once! (for those who were wondering) Anyway, to get to the point, If ANYONE is interested in this code, let me know and I will attempt to either send out a copy to each and every person that requests it -- or if enough interest is shown, I will submit it to comp.sources.amiga.. -- Rick -- -- UUCP: {hplabs!hp-sdd ucsd nosc}!crash!theweav!rickf ARPA: crash!theweav!rickf@nosc.mil INET: rickf@theweav.cts.com