Commit 432fbf6
pythongh-109582: test_fork_signal_handling should wait for event (python#109605)
Sometimes the child_handled event was missing because either
the child quits before it gets a chance to handle the signal,
or the parent asserts before the event notification is
delivered via IPC. Synchronize explicitly to avoid this.1 parent 41c9a16 commit 432fbf6
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
1911 | 1913 | | |
1912 | 1914 | | |
1913 | 1915 | | |
1914 | | - | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
1915 | 1921 | | |
| 1922 | + | |
| 1923 | + | |
1916 | 1924 | | |
1917 | 1925 | | |
1918 | 1926 | | |
| |||
1922 | 1930 | | |
1923 | 1931 | | |
1924 | 1932 | | |
1925 | | - | |
| 1933 | + | |
1926 | 1934 | | |
1927 | 1935 | | |
1928 | 1936 | | |
| |||
1933 | 1941 | | |
1934 | 1942 | | |
1935 | 1943 | | |
| 1944 | + | |
1936 | 1945 | | |
1937 | 1946 | | |
1938 | 1947 | | |
| |||
0 commit comments