介绍了经典的期限最近优先调度算法,分析了优先级倒置难题。
The classical earliest deadline first algorithm for resource scheduling was introduced and the priority reversal problem was analyzed.
优先级继承协议和天花板优先级协议都可在一定程度上解决实时系统(RTOS)中的优先级倒置。
Both priority inheritance protocol and priority ceiling protocol are common solutions to priority inversion in real-time system (RTOS).
如果阻塞的线程是高优先级的任务,那么该方案可能造成非常不好的结果(称为优先级倒置的危险)。
This scenario could be a disaster if the blocked thread is a high-priority task (a hazard known as priority inversion).
要用线程安全地编写程序是很难的;需要操纵线程的程序很容易引起不一致的数据、死锁、不可伸缩的锁定以及倒置的优先级等问题。
It's hard to program safely; programs that manipulate threads are prone to inconsistent data, deadlocks, unscalable locking, and inverted priorities.
要用线程安全地编写程序是很难的;需要操纵线程的程序很容易引起不一致的数据、死锁、不可伸缩的锁定以及倒置的优先级等问题。
It's hard to program safely; programs that manipulate threads are prone to inconsistent data, deadlocks, unscalable locking, and inverted priorities.
应用推荐