diff options
| author | Eli Zaretskii | 2026-02-28 14:53:34 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2026-02-28 14:53:34 +0200 |
| commit | d366c8cf2390e8c8666599119ee401563f42aa5d (patch) | |
| tree | 37bf9a60fd3e6b2fc3f372970b8c372282db9aae /src | |
| parent | 2c7f33e1866ceb3ff78e7f608d03cae993c17ad5 (diff) | |
| download | emacs-d366c8cf2390e8c8666599119ee401563f42aa5d.tar.gz emacs-d366c8cf2390e8c8666599119ee401563f42aa5d.zip | |
; * src/w32proc.c (new_child): Update comment (bug#76041).
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32proc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 9d04f03194e..57530b5d8e5 100644 --- a/src/w32proc.c +++ b/src/w32proc.c | |||
| @@ -1885,11 +1885,9 @@ new_child (void) | |||
| 1885 | stack. (The 8MB figure comes from the -stack | 1885 | stack. (The 8MB figure comes from the -stack |
| 1886 | command-line argument we pass to the linker when building | 1886 | command-line argument we pass to the linker when building |
| 1887 | Emacs, but that's because we need a large stack for | 1887 | Emacs, but that's because we need a large stack for |
| 1888 | Emacs's main thread.) Since we request 2GB of reserved | 1888 | Emacs's main thread.) The 8MB reservation for each thread |
| 1889 | memory at startup (see w32heap.c), which is close to the | 1889 | might causes failures in starting subprocesses, especially |
| 1890 | maximum memory available for a 32-bit process on Windows, | 1890 | in 32-bit builds, because we create a thread running |
| 1891 | the 8MB reservation for each thread causes failures in | ||
| 1892 | starting subprocesses, because we create a thread running | ||
| 1893 | reader_thread for each subprocess. As 8MB of stack is | 1891 | reader_thread for each subprocess. As 8MB of stack is |
| 1894 | way too much for reader_thread, forcing Windows to | 1892 | way too much for reader_thread, forcing Windows to |
| 1895 | reserve less wins the day. */ | 1893 | reserve less wins the day. */ |