摘要:
1.经典例子 2.优先级继承 低优先级的A线程获得互斥锁前,需要先将自己的优先级临时提高,最后处理完后再退回原优先级。 set_priority(20); pthread_mutex_lock(); …. pthread mutex unlock(); set_priority(10); 这样在T3 阅读全文
posted @ 2021-10-29 20:15
Clapton
阅读(163)
评论(0)
推荐(0)
浙公网安备 33010602011771号