Add a comment to _Py_RestoreSignals() (GH-18792)

subprocess _posix_spawn() should stay in sync with _Py_RestoreSignals().
This commit is contained in:
Victor Stinner 2020-03-05 18:13:56 +01:00 committed by GitHub
parent f7b5d419bf
commit efc28bbbee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2374,6 +2374,8 @@ init_signals(PyThreadState *tstate)
* All of the code in this function must only use async-signal-safe functions,
* listed at `man 7 signal` or
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
*
* If this function is updated, update also _posix_spawn() of subprocess.py.
*/
void
_Py_RestoreSignals(void)