mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Add a comment to _Py_RestoreSignals() (GH-18792)
subprocess _posix_spawn() should stay in sync with _Py_RestoreSignals().
This commit is contained in:
parent
f7b5d419bf
commit
efc28bbbee
1 changed files with 2 additions and 0 deletions
|
@ -2374,6 +2374,8 @@ init_signals(PyThreadState *tstate)
|
||||||
* All of the code in this function must only use async-signal-safe functions,
|
* All of the code in this function must only use async-signal-safe functions,
|
||||||
* listed at `man 7 signal` or
|
* listed at `man 7 signal` or
|
||||||
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
|
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
|
||||||
|
*
|
||||||
|
* If this function is updated, update also _posix_spawn() of subprocess.py.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
_Py_RestoreSignals(void)
|
_Py_RestoreSignals(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue