aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-10 11:16:42 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-14 11:40:27 -0400
commit34f8723dc784142b30d92bbbdeb37089ae7a3bc5 (patch)
treed3b61e791a0a130cf5cfc7a9d91d1d7d5ac6a2ce /src/common/compat.h
parentf8344c2d28be2489c8abadd694b5b96fe18efc02 (diff)
downloadtor-34f8723dc784142b30d92bbbdeb37089ae7a3bc5.tar
tor-34f8723dc784142b30d92bbbdeb37089ae7a3bc5.tar.gz
On Windows, terminate processes by handle, not pid
When we create a process yourself with CreateProcess, we get a handle to the process in the PROCESS_INFO output structure. But instead of using that handle, we were manually looking up a _new_ handle based on the process ID, which is a poor idea, since the process ID might refer to a new process later on, but the handle can't.
Diffstat (limited to 'src/common/compat.h')
0 files changed, 0 insertions, 0 deletions