[Win32utils-devel] Fwd: win32/process - small bug?

Daniel Berger djberg96 at gmail.com
Thu Nov 4 10:52:59 EDT 2010


It might be a bit before I can get to this, so I thought I'd pass it on.

Also, while I was stuck in the airport in Minneapolis, I decided that
the getrlimit method should be refactored to remove the process from
the job (if it wasn't already in one) after it's finished, if
possible.

Dan


---------- Forwarded message ----------
From: Ben Nagy <ben.nagy.web at gmail.com>
Date: Wed, Nov 3, 2010 at 11:53 PM
Subject: win32/process - small bug?
To: Daniel Berger <djberg96 at gmail.com>


Hi,

Very short note...

I don't know how to do git pull requests and blah blah blah. I just
fixed what I think is a bug in the win32/process code. You don't close
the thread handle when you kill with signal 1. In my case I had a
process monitor app that continued to think the PID was still alive,
because the system continued to grant handles to the dead PID.

Maybe the behaviour is intentional, I don't know. Anyway, hth.

Cheers,

ben


More information about the win32utils-devel mailing list