mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add a comment to _Py_RestoreSignals() (GH-18792)
subprocess _posix_spawn() should stay in sync with _Py_RestoreSignals().
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user