Commit b3632b8
authored
Remove special case from pthread_kill. (#26668)
This special handling for `SIGCANCEL` should not be needed. If we need
to do something like `_emscripten_runtime_keepalive_clear` during
pthread cancelation it would be best done when the cancellation in
processed in `__testcancel`/`__cancel`.
The comment & code I'm removing here was added back in #22467 along with
testing in the form of `test/pthread/test_pthread_kill.c` and the
pthread_kill tests in posixtest.
I recently expanded the testing in #26663, and this change doesn't break
any of those tests.1 parent 670b4c7 commit b3632b8
1 file changed
Lines changed: 4 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 15 | + | |
| 16 | + | |
37 | 17 | | |
38 | 18 | | |
39 | 19 | | |
| |||
48 | 28 | | |
49 | 29 | | |
50 | 30 | | |
51 | | - | |
| 31 | + | |
52 | 32 | | |
53 | | - | |
| 33 | + | |
54 | 34 | | |
55 | 35 | | |
56 | 36 | | |
0 commit comments