Commit 8c25b49
Yao Qi
Hoist code on marking thread as exited
This patch hoists code on marking thread as exited, so more code is shared
for two different paths (thread_info is deleted or is not deleted).
gdb:
2017-04-10 Yao Qi <yao.qi@linaro.org>
* thread.c (delete_thread_1): Hoist code on marking thread as
exited.1 parent 947fa91 commit 8c25b49
2 files changed
+17
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 437 | + | |
442 | 438 | | |
443 | | - | |
444 | | - | |
445 | | - | |
| 439 | + | |
446 | 440 | | |
447 | | - | |
448 | | - | |
| 441 | + | |
| 442 | + | |
449 | 443 | | |
450 | | - | |
451 | | - | |
452 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
453 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | 457 | | |
467 | 458 | | |
468 | 459 | | |
| |||
0 commit comments