diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-08-29 00:33:07 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2012-08-29 00:33:07 (GMT) |
commit | f88e3ac051975d312ca0e89f5674b5b9475fb96b (patch) | |
tree | c3e9fc44806601be5a18f99b814ae63bd2fec2cc | |
parent | 0aca78d2920123b7b9d95126b304f1aaab0c2b93 (diff) | |
download | SCons-f88e3ac051975d312ca0e89f5674b5b9475fb96b.zip SCons-f88e3ac051975d312ca0e89f5674b5b9475fb96b.tar.gz SCons-f88e3ac051975d312ca0e89f5674b5b9475fb96b.tar.bz2 |
Added a comment for recent spawnve change.
-rw-r--r-- | src/engine/SCons/Platform/win32.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/Platform/win32.py b/src/engine/SCons/Platform/win32.py index ff91bf9..c81eecf 100644 --- a/src/engine/SCons/Platform/win32.py +++ b/src/engine/SCons/Platform/win32.py @@ -84,6 +84,12 @@ else: spawn_lock = threading.Lock() +# This locked version of spawnve works around a Windows +# MSVCRT bug, because its spawnve is not thread-safe. +# Without this, python can randomly crash while using -jN. +# See the python bug at http://bugs.python.org/issue6476 +# and SCons issue at +# http://scons.tigris.org/issues/show_bug.cgi?id=2449 def spawnve(mode, file, args, env): spawn_lock.acquire() try: |