diff options
author | Johannes Sixt <j6t@kdbg.org> | 2010-03-09 21:00:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-10 14:26:54 -0800 |
commit | f6b6098316192475ff0b3fa2ba894d7e555bdfac (patch) | |
tree | f3fb95b975869ca5fea6006fdc70e23f814fcd3e /Documentation/technical | |
parent | 0ea1c89ba616397ef7e5f6f601ef7a24d2c27b8e (diff) | |
download | git-f6b6098316192475ff0b3fa2ba894d7e555bdfac.tar.gz git-f6b6098316192475ff0b3fa2ba894d7e555bdfac.tar.xz |
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.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/technical/api-run-command.txt b/Documentation/technical/api-run-command.txt index 44876fa70..f18b4f481 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 |