mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-07 19:35:50 +01:00
Add a note on restrictions of child setup functions
svn path=/trunk/; revision=6208
This commit is contained in:
parent
35f3f588ae
commit
fd28036701
@ -1,3 +1,8 @@
|
||||
2007-12-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/spawn.sgml: Add a warning about allowed functions
|
||||
between fork() and exec().
|
||||
|
||||
2007-12-24 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* glib/tmpl/timers.sgml: Add a warning about g_thread_init
|
||||
|
@ -86,6 +86,12 @@ to perform but before calling exec(). On POSIX actions taken in this
|
||||
function will thus only affect the child, not the parent.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Note that POSIX allows only async-signal-safe functions (see signal(7))
|
||||
to be called in the child between fork() and exec(), which drastically
|
||||
limits the usefulness of child setup functions.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
On Windows the function is called in the parent. Its usefulness on
|
||||
Windows is thus questionable. In many cases executing the child setup
|
||||
|
Loading…
x
Reference in New Issue
Block a user