* Phantom processes left over
@ 2012-07-04 11:32 Richard H Lee
0 siblings, 0 replies; only message in thread
From: Richard H Lee @ 2012-07-04 11:32 UTC (permalink / raw)
To: cygwin
Has anybody come across processes being left over?
I'm extending an open source project. The functionality I'm adding is
keeping track of running processes. I store the list of active processes
in shared memory. When querying the list I also call kill with a 0
signal on all the entries to test if they are still running.
The problem is that when a process has clearly ended, by this I mean it
does on show up in cygwin's ps or window's task manager, calling kill
with signal 0 still returns 0. The same for calling "kill -s 0 <pid>"
from the command line. This indicates that supposedly the process is
still running. Also the pid is still present in the /proc filesystem.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-04 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-04 11:32 Phantom processes left over Richard H Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).