Commit ed4041c
Do not try to kill thread that was successfully joined
Calling pthread_kill() after a successfull call pthread_timedjoin_np()
is considered a UB because pthread_t object is no longer valid. This
results in SIGSEGV at least on musl libc.1 parent cced213 commit ed4041c
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
930 | | - | |
931 | | - | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
932 | 937 | | |
933 | 938 | | |
| 939 | + | |
934 | 940 | | |
935 | 941 | | |
936 | 942 | | |
| |||
0 commit comments