Path: utzoo!attcan!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!gryphon!pnet02!rickf From: rickf@pnet02.cts.com (Rick Flower) Newsgroups: comp.sys.amiga.tech Subject: Does anyone have a code example for CreateProc function of AmigaDos? Message-ID: <17336@gryphon.COM> Date: 3 Jul 89 07:00:11 GMT Sender: root@gryphon.COM Organization: People-Net [pnet02], Redondo Beach, CA. Lines: 18 I'm working on a program that needs the ability to spawn 8 different tasks (well, ok, processes!) and use the least amount of memory as possible. What I thought that I would do is LoadSeg the actual program that needs to be spawned 8 times and then CreateProc() the same code 8 times. I think it will work, as long as I make the program that was LoadSeg'd allocate the memory it needs instead of using assembly time data areas. Perhaps this will also not work? I don't know at this point, but I'm basically looking for some code that shows examples of the CreateProc function and how it will interact with the parent process, in either Assembly or "C"... Thanks in Advance.. +-----------------------------------------------------------------------------+ | Caution, Assembly Language Programmer at Play! | | | | UUCP: {ames!elroy, }!gryphon!pnet02!rickf | | INET: rickf@pnet02.cts.com | +=============================================================================+