搜索资源列表
dead_lock
- vxworks下死锁程序示例,任务A锁住sem_1,并试图锁住sem_2; 任务B锁住sem_2,并试图锁住sem_1, 造成死锁;-Under the deadlock procedures vxworks example, task A locked sem_1, and tried to lock sem_2 task B lock sem_2, and tried to lock sem_1, causing deadlock
vxworks-dead-lock
- 一个实现死锁的程序 使用两个线程 两个信号量 来实现 一个低优先级进程先semtake mutex1 .然后另个一高优先级的抢占后cpu后 分别semtake mutex2 和mutex1 然后低优先级又要semtake mutex2 -An implementation program with two threads deadlock two semaphores to implement a low-priority process first semtake mutex1. And th