1. Gary Oberbrunner
  2. SCons


Gary Oberbrunner  committed 9d3b924

Added a comment for recent spawnve change.

  • Participants
  • Parent commits 8f06e41
  • Branches default

Comments (0)

Files changed (1)

File src/engine/SCons/Platform/win32.py

View file
 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):