ChinaUnix.net
相关文章推荐:

rtmutex优先级反转

2008-6-16 一个低优先级的rtmutex owner会继承高优先级的waiter的优先级, 谓之PI.如果此进程还block到其他的rtmutex,这个优先级还要传播到这个rtmutx的owner. struct rt_mutex { raw_spinlock_t wait_lock; struct plist_head wait_list; /*按优先级排序,同优先级采用FIFO order*/ struct task_struct *owner; /*owner以及状态,见下表*/#ifdef CONFIG_DEBUG_RT_MUTEXES int save_state; const...

by hylpro - Linux文档专区 - 2008-10-06 14:22:32 阅读(1217) 回复(0)

相关讨论