This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
B20.1: wait/cwait/waitpid not working?
- To: cygwin@sourceware.cygnus.com
- Subject: B20.1: wait/cwait/waitpid not working?
- From: jmm@raleigh.ibm.com
- Date: Sun, 7 Feb 1999 17:45:53 -0500 (EST)
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
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@sourceware.cygnus.com