Merge branch 'pr-docs-improve-wording-glib-unix' into 'main'

docs: Improve wording in documentation of g_unix_signal_source_new()

See merge request GNOME/glib!2900
This commit is contained in:
Marco Trevisan 2022-09-16 12:30:43 +00:00
commit ee470da7c8
2 changed files with 6 additions and 6 deletions

View File

@ -205,11 +205,11 @@ g_unix_set_fd_nonblocking (gint fd,
*
* For example, an effective use of this function is to handle `SIGTERM`
* cleanly; flushing any outstanding files, and then calling
* g_main_loop_quit (). It is not safe to do any of this a regular
* UNIX signal handler; your handler may be invoked while malloc() or
* another library function is running, causing reentrancy if you
* attempt to use it from the handler. None of the GLib/GObject API
* is safe against this kind of reentrancy.
* g_main_loop_quit(). It is not safe to do any of this from a regular
* UNIX signal handler; such a handler may be invoked while malloc() or
* another library function is running, causing reentrancy issues if the
* handler attempts to use those functions. None of the GLib/GObject
* API is safe against this kind of reentrancy.
*
* The interaction of this source when combined with native UNIX
* functions like sigprocmask() is not defined.