git-annex/Assistant
Joey Hess a76078a78e process group killing
This seems to work pretty well.

Handled the process groups like this:

- git-annex processes started by the assistant for transfers are run in their
  own process groups.
- otherwise, rely on the shell to allocate a process group for git-annex

There is potentially a problem if some other program runs git-annex
directly (not using sh -c) The program and git-annex would then be in
the same process group. If that git-annex starts a transfer and it's
canceled, the program would also get killed. May or may not be a desired
result.

Also, the new updateTransferInfo probably closes a race where it was
possible for the thread id to not be recorded in the transfer info, if
the transfer info file from the transfer process is read first.
2012-08-10 15:52:22 -04:00
..
Threads process group killing 2012-08-10 15:52:22 -04:00
WebApp process group killing 2012-08-10 15:52:22 -04:00
Alert.hs fix display of icon in block alert heading 2012-08-06 17:15:27 -04:00
Changes.hs license 2012-06-23 01:20:40 -04:00
Commits.hs license 2012-06-23 01:20:40 -04:00
Common.hs debugging improvements 2012-07-20 19:29:59 -04:00
DaemonStatus.hs process group killing 2012-08-10 15:52:22 -04:00
Pushes.hs use a TMVar 2012-06-26 19:21:44 -04:00
ScanRemotes.hs fix crash when just one remote needs to be scanned 2012-08-05 15:18:56 -04:00
ThreadedMonad.hs fork off git-annex copy for transfers 2012-08-10 14:14:08 -04:00
TransferQueue.hs transfer canceling 2012-08-08 17:55:56 -04:00
TransferSlots.hs fork off git-annex copy for transfers 2012-08-10 14:14:08 -04:00
WebApp.hs factor out onclick javascript 2012-08-08 17:07:38 -04:00