help determining child process status

Mitch Baltuch msb62 at leah.Albany.Edu
Wed Jun 7 02:56:25 AEST 1989


I am running SCO Xenix v2.3 on a Zenith Z386, using their v2.3 development
toolkit.  My problem is that I have a parent task which forks a number
of tasks.  Some of these tasks spawn other tasks based on asynchronous
events, so that the number and duration of these tasks cannot be determined.
I am looking for a way that a task can tell when all its children have
terminated.  This is complicated by the fact that one or two processes may
not terminate by themselves and cannot be terminated until all other
processes have exited. I have not been able to find a convenient way to
accomplish this.  Any suggestions?

Thanks
Mitch Baltuch
Thunderstorm Analysis Center
State University of New York at Albany
____________________________________________________________________________
Internet: msb62 at leah.albany.edu		Phone: (518) 442-4138
Bitnet:   m.s.baltuch at albnyvms		Snail Mail: State Univ. of NY at Albany
						    ES235	ATM/SCI
						    1400 Washington Ave.
						    Albany, New York 12222

Disclaimer: These opinions are only mine, but I love 'em anyway.



More information about the Comp.unix.questions mailing list