Xref: utzoo comp.os.os2.misc:754 comp.os.os2.apps:97 comp.os.os2.programmer:478 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!uwm.edu!ogicse!emory!kong!ncratl!cscullio From: cscullio@ncratl.AtlantaGA.NCR.COM (Chris Scullion) Newsgroups: comp.os.os2.misc,comp.os.os2.apps,comp.os.os2.programmer Subject: Re: knowing when a child process has died Message-ID: <17351@ncratl.AtlantaGA.NCR.COM> Date: 25 Feb 91 12:55:22 GMT References: <15458@uswat.UUCP> <1991Feb20.173755.14036@ibmpa.awdpa.ibm.com> Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA Lines: 20 In <1991Feb20.173755.14036@ibmpa.awdpa.ibm.com> mikem@panews writes: >In article <15458@uswat.UUCP> ilene@zeb.USWest.COM () writes: >> >> I need to know how to determine when a particular child process has >> died - at any given time in my program. >> >> Ilene >Have the program create a System Semaphore. If the parent wants to >[balance deleted] Or you could just use DosCwait (child wait) to detect child process termination. It allows for detection "on-the-fly" or indefinite wait (use a new thread in this case). CKS -- Chris Scullion | NCR Corporation 2651 Satellite Blvd., Duluth, GA 30136 | | (404)623-7352 | VoicePlus 751-7352 | cscullio@ncratl.AtlantaGA.NCR.COM |