mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 04:43:06 +02:00
Mention that the recent fix to the gspawn helper process
synchronization on Windows fixes #510664. svn path=/trunk/; revision=6577
This commit is contained in:
parent
96c7abe76a
commit
81419b53de
16
ChangeLog
16
ChangeLog
@ -7,13 +7,15 @@
|
|||||||
|
|
||||||
* glib/gspawn-win32.c
|
* glib/gspawn-win32.c
|
||||||
* glib/gspawn-win32-helper.c: Fix race condition when using the
|
* glib/gspawn-win32-helper.c: Fix race condition when using the
|
||||||
helper process: When the helper process writes the handle of the
|
helper process. This seems to fix #510664.
|
||||||
actual started user process to the parent process, it must be
|
|
||||||
duplicated in the parent process with DuplicateHandle() so that it
|
When the helper process writes the handle of the actual started
|
||||||
is a valid handle in that process. However, if the helper process
|
user process to the parent process, it must be duplicated in the
|
||||||
has happened to exit before the DuplicateHandle() call, the
|
parent process with DuplicateHandle() so that it is a valid handle
|
||||||
duplication will fail. Thus we must synchronise the helper
|
in that process. However, if the helper process has happened to
|
||||||
process's exit. Use another pipe for this.
|
exit before the DuplicateHandle() call, the duplication will
|
||||||
|
fail. Thus we must synchronise the helper process's exit. Use
|
||||||
|
another pipe for this.
|
||||||
|
|
||||||
Take care not to inherit the writing end of this pipe to the
|
Take care not to inherit the writing end of this pipe to the
|
||||||
helper process. Also, in the helper process, take care not to
|
helper process. Also, in the helper process, take care not to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user