summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-03-09 21:00:36 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-10 14:26:54 -0800
commitf6b6098316192475ff0b3fa2ba894d7e555bdfac (patch)
treef3fb95b975869ca5fea6006fdc70e23f814fcd3e /Documentation/technical
parent0ea1c89ba616397ef7e5f6f601ef7a24d2c27b8e (diff)
downloadgit-f6b6098316192475ff0b3fa2ba894d7e555bdfac.tar.gz
Enable threaded async procedures whenever pthreads is available
Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/api-run-command.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/technical/api-run-command.txt b/Documentation/technical/api-run-command.txt
index 44876fa703..f18b4f4817 100644
--- a/Documentation/technical/api-run-command.txt
+++ b/Documentation/technical/api-run-command.txt
@@ -231,8 +231,9 @@ The function pointer in .proc has the following signature:
There are serious restrictions on what the asynchronous function can do
-because this facility is implemented by a pipe to a forked process on
-UNIX, but by a thread in the same address space on Windows:
+because this facility is implemented by a thread in the same address
+space on most platforms (when pthreads is available), but by a pipe to
+a forked process otherwise:
. It cannot change the program's state (global variables, environment,
etc.) in a way that the caller notices; in other words, .in and .out