1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-11 17:31:35 -07:00

; * src/w32proc.c (new_child): Update comment (bug#76041).

This commit is contained in:
Eli Zaretskii 2026-02-28 14:53:34 +02:00
parent 2c7f33e186
commit d366c8cf23

View file

@ -1885,11 +1885,9 @@ new_child (void)
stack. (The 8MB figure comes from the -stack
command-line argument we pass to the linker when building
Emacs, but that's because we need a large stack for
Emacs's main thread.) Since we request 2GB of reserved
memory at startup (see w32heap.c), which is close to the
maximum memory available for a 32-bit process on Windows,
the 8MB reservation for each thread causes failures in
starting subprocesses, because we create a thread running
Emacs's main thread.) The 8MB reservation for each thread
might causes failures in starting subprocesses, especially
in 32-bit builds, because we create a thread running
reader_thread for each subprocess. As 8MB of stack is
way too much for reader_thread, forcing Windows to
reserve less wins the day. */