delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/07/22:45:46

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: jmm AT raleigh DOT ibm DOT com
Message-Id: <199902072245.RAA24153@jmm.raleigh.ibm.com>
Subject: B20.1: wait/cwait/waitpid not working?
To: cygwin AT sourceware DOT cygnus DOT com
Date: Sun, 7 Feb 1999 17:45:53 -0500 (EST)

On an NT 4.0 Workstation machine, I spawn a child and have tried both wait()
cwait() and waitpid() to wait until the child exits, but all return
immediately and I can see the child process still running in the task
manager.  I'm printing out the pid I waitpid() on to make sure it is
waiting on a real process

wait(child_pid,NULL,0);

Any ideas? 

Thanks 

James Manning
-- 
Hardware Design Engineer --- IBM Netfinity Performance Development

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019