[comp.sys.amiga] Fexec & execution in general

hatcher@INGRES.BERKELEY.EDU (Doug Merritt) (06/01/87)

I have been wondering about the references to the Fexec in Manx and
the Fork in Lattice...are they compatible? Or is there a huge difference?
I am still working with Lattice 3.03C and won't receive my upgrade for
a while yet, so I don't even have Fork yet. But I'm wondering whether
there are nice, general *process* execution library functions available
to users of both compilers? Or should I entertain the notion of writing
one? If fexec and fork are similar enough, hopefully it wouldn't be
necessary.

On a related issue (i.e. porting), what is the Manx equivalent of
Enable_Abort and CheckAbort()? I'd like to write portable code where
possible.
		Doug Merritt		ucbvax!ingres!hatcher

page@ulowell.cs.ulowell.edu (Bob Page) (06/01/87)

Doug Merritt (hatcher@INGRES.BERKELEY.EDU) wondered if Manx's fexec()
was compatible with Lattice's fork() call.  They are not.

fork() will not handle BCPL programs while fexec() will.  I don't have
the 3.10 docs handy so I can't say if the calling sequence is similar.

>I'm wondering whether there are nice, general *process* execution
>library functions available to users of both compilers?

Only if you count the LoadSeg/CreateProc/Execute family.

>Or should I entertain the notion of writing one?

You could use the one Matt wrote for his shell.  You might need permission
depending on your ultimate motives.

..Bob
-- 
Bob Page, U of Lowell CS Dept.   page@ulowell.{uucp,edu,csnet}