diff options
| author | tangyuxin <[email protected]> | 2021-02-22 17:10:33 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2021-02-22 17:10:33 +0800 |
| commit | 4f2359d34c502901c56c84ee0b08561aa12f8113 (patch) | |
| tree | c059a036a76487c2c475b2e1d140e6ccc7b302c5 /libcpu | |
| parent | 791b8a35deba00ca334ca81c4e451037d05ae883 (diff) | |
[workqueue] 修复临界条件线程意外挂起问题
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。
将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions
