Commit eab4a0b
authored
Fix race condition in signal handler query (ruby#13712)
* Fix race condition in signal handler query
* Initialize signal lock dynamically and reset after fork
* Fix signal handler mutex initialization conditions1 parent 31c1f36 commit eab4a0b
3 files changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
667 | 671 | | |
668 | 672 | | |
669 | 673 | | |
| |||
678 | 682 | | |
679 | 683 | | |
680 | 684 | | |
681 | | - | |
682 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
683 | 688 | | |
| 689 | + | |
684 | 690 | | |
685 | 691 | | |
686 | 692 | | |
| |||
1509 | 1515 | | |
1510 | 1516 | | |
1511 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1512 | 1521 | | |
1513 | 1522 | | |
1514 | 1523 | | |
| |||
1561 | 1570 | | |
1562 | 1571 | | |
1563 | 1572 | | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4933 | 4933 | | |
4934 | 4934 | | |
4935 | 4935 | | |
| 4936 | + | |
4936 | 4937 | | |
4937 | 4938 | | |
4938 | 4939 | | |
| |||
0 commit comments