When created, a VxWorks mutex object accepts a Boolean parameter that indicates whether priority inheritance should be performed by the mutex.
VxWorks的互斥锁在创建的时候,可以用一个布尔参数表示是否要优先级继承。
A POSIX API for creating a pthread_mutex lets the mutex implement the priority-inheritance protocol.
用于创建pthread _ mutex的POSIX API使用互斥锁来实现优先级继承协议。
Only the owning task may successfully call semGive. The VxWorks mutex also has the ability to support both priority inheritance (basic priority inheritance protocol) and deletion safety.
只有当前任务才能释放锁,同时还支持优先级继承(基本优先级继承协议)和死亡安全监测。
应用推荐