Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add a comment to _Py_RestoreSignals()
It should stay in sync with subprocess _posix_spawn().
  • Loading branch information
vstinner committed Mar 5, 2020
commit 156854824363bcaf412dfb666c8659696a45dec8
2 changes: 2 additions & 0 deletions Python/pylifecycle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down