Tree
- Tree:
6a77eb98922ce543cb7a11f04038191c9f840cd2
- Date:
- Message:
- close parent's end of imsg pipe before waiting for a child process to exit Prevents a dead-lock in 'tog log' where tog wants to exit (e.g. because the user pressed Ctrl-C) while a got-read-pack child process wants to send more commits. Closing the parent's pipe descriptor makes writes to the pipe fail in the child process. The child then unwinds via an ERR_EOF error and exits, instead of forever polling its end of the pipe in order to write more data. ok jamsek
Makefile | commits | blame |
Makefile.inc | commits | blame |
got-read-blob/ | |
got-read-commit/ | |
got-read-gitconfig/ | |
got-read-gotconfig/ | |
got-read-object/ | |
got-read-pack/ | |
got-read-tag/ | |
got-read-tree/ |