在内核中可以使用互斥锁来实现信号量行为。
Mutexes are available in the kernel as a way to accomplish semaphore behavior.
同样,rt - mutexes对优先级继承协议扩展了健壮的互斥锁,后者允许rt JVM通过pthread库依赖优先级继承行为。
Also, rt-mutexes extend the priority-inheritance protocol to robust mutexes, which allows the rt JVM to rely on priority-inheritance behaviour via the pthread library.
这种行为称为“互斥”,也就是一个选择排斥另一个选择。
This behavior is called mutual exclusion, as the selection of one excludes the selection of the other.
应用推荐