280 Star 1.8K Fork 780

OpenHarmony / kernel_liteos_a

 / 详情

futex中锁失效的判断不在futex的list锁中,在高并发场景下会导致用户态的锁出错

Done
Task member
Opened this issue  
2020-09-28 13:53

该问题是怎么引起的?
跑上层应用

重现步骤
1.多核场景下
2.创建两个同优先级的线程,并创建一个pthread_cond_t cond。
3.一个线程频繁执行pthread_cond_wait(), 另一个线程频繁的执行pthread_cond_signal()。

报错信息
运行一段时间之后高概率出现执行pthread_cond_wait的线程无法被唤醒。

Comments (0)

zhushengle created任务
zhushengle set related repository to OpenHarmony/kernel_liteos_a
zhushengle throughopenharmony/kernel_liteos_a Pull Request !12 changed issue state from 待办的 to 已完成
Expand operation logs

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(1)
7989059 star rain 1599750608
C
1
https://git.oschina.net/openharmony/kernel_liteos_a.git
git@git.oschina.net:openharmony/kernel_liteos_a.git
openharmony
kernel_liteos_a
kernel_liteos_a

Search

233307 c1314fcc 1850385 233305 0212f5e2 1850385