文件名称: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 then another one a high priority, respectively, after the taking cpu semtake mutex2 and mutex1 and low priority also semtake mutex2
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vxworks dead lock\test.c
.................\使用说明.txt
vxworks dead lock
.................\使用说明.txt
vxworks dead lock