norman@alberta.UUCP (Norm Jantz) (10/15/87)
I've just gotten multitasking working and I'm trying to get independant processes running. I use dos Exit() to terminate which works great if I run the process under a CLI. If I load the routine and do a CreateProc() from a master routine the slave runs just dandy until it Exits() at which time I get visited by an old friend. My question how do I get a process going indepentant of other processes on the system and have it exit cleanly. I've done this using tasks under exec but I need to do disk I/O and don't feel inclined to write my own file routines. Many thanks. Keith Clifford USENET: ihnp4!alberta!edson!tic!keith Penguins dream of stranger things Disclaimer: If I disclaim all that I proclaim who would there be left to blame!
dillon@CORY.BERKELEY.EDU (Matt Dillon) (10/16/87)
:I've just gotten multitasking working and I'm trying to get independant :processes running. I use dos Exit() to terminate which works great if I run :the process under a CLI. If I load the routine and do a CreateProc() Processes created with CreatProc() can simply fall through (rts at the top level) to exit. In C this would be equivalent to simply returning from the top level procedure of the process. -Matt