From: rupert thurner <rupert.thurner@gmail.com>
To: msysgit@googlegroups.com
Cc: nico@fluxnic.net, git-owner@vger.kernel.org,
rupert.thurner@gmail.com, git@vger.kernel.org, j6t@kdbg.org,
luke@mewburn.net, kusmabite@gmail.com
Subject: Re: [PATCH] compat/mingw: stubs for getpgid() and tcgetpgrp()
Date: Thu, 23 Apr 2015 12:25:49 -0700 (PDT) [thread overview]
Message-ID: <cc79154d-4e18-41a4-938f-ca6e30b2e6d9@googlegroups.com> (raw)
In-Reply-To: <fac9a525a2fb2b09d176243659cbf3a7@www.dscho.org>
[-- Attachment #1.1: Type: text/plain, Size: 2169 bytes --]
On Thursday, April 16, 2015 at 2:45:11 PM UTC+2, Johannes Schindelin wrote:
>
> Hi kusma,
>
> On 2015-04-15 21:43, Erik Faye-Lund wrote:
> > On Wed, Apr 15, 2015 at 8:29 PM, Johannes Sixt <j...@kdbg.org
> <javascript:>> wrote:
> >> Windows does not have process groups. It is, therefore, the simplest
> >> to pretend that each process is in its own process group.
> >
> > Windows does have some concept of process groups, but probably not
> > quite what you want:
> >
> >
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms682083%28v=vs.85%29.aspx
>
> Yes, and we actually need that in Git for Windows anyway because shooting
> down a process does not kill its child processes:
>
>
> https://github.com/git-for-windows/msys2-runtime/commit/15f209511985092588b171703e5046eba937b47b#diff-8753cda163376cee6c80aab11eb8701fR402
>
> However, using this code for `getppid()` would be serious overkill (not to
> mention an unbearable performance hit because you have to enumerate *all*
> processes to get that information).
>
>
is the windows "JobObject" similar to processgroup? at least killing the
parent process in a jobobject will kill all childs as well:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681949%28v=vs.85%29.aspx
best,
rupert
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 4445 bytes --]
next prev parent reply other threads:[~2015-04-23 19:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 13:48 [PATCH] reduce progress updates in background Luke Mewburn
2015-04-13 14:11 ` Nicolas Pitre
2015-04-13 14:40 ` Luke Mewburn
2015-04-13 15:01 ` Nicolas Pitre
2015-04-14 11:03 ` [PATCH v2] " Luke Mewburn
2015-04-14 15:16 ` Nicolas Pitre
2015-04-15 18:29 ` [PATCH] compat/mingw: stubs for getpgid() and tcgetpgrp() Johannes Sixt
2015-04-15 18:48 ` Junio C Hamano
2015-04-15 20:34 ` Johannes Sixt
2015-04-16 12:48 ` Johannes Schindelin
2015-04-16 15:00 ` Junio C Hamano
2015-04-15 19:43 ` Erik Faye-Lund
2015-04-16 12:44 ` [msysGit] " Johannes Schindelin
2015-04-23 19:25 ` rupert thurner [this message]
2015-04-24 3:03 ` rupert thurner
2015-04-24 6:25 ` [msysGit] " Johannes Schindelin
2015-04-17 1:25 ` Luke Mewburn
2015-04-14 11:08 ` [PATCH] reduce progress updates in background Luke Mewburn
2015-04-14 3:12 ` brian m. carlson
2015-04-14 8:47 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc79154d-4e18-41a4-938f-ca6e30b2e6d9@googlegroups.com \
--to=rupert.thurner@gmail.com \
--cc=git-owner@vger.kernel.org \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.org \
--cc=kusmabite@gmail.com \
--cc=luke@mewburn.net \
--cc=msysgit@googlegroups.com \
--cc=nico@fluxnic.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).