搜索资源列表
race_condition
- vxworks下解决共享数据竞争问题,在访问共享的数据前,使用互斥信号量对共享数据进行保护-vxworks share data to resolve the issue of competition in the access to shared data before the use of mutex semaphores to protect shared data
Project2
- 设计两个任务tServer和tClient,tClient负责通知tServer处理共享内存中的数据,为数据增加头部信息(可以用一句话模拟)。共享内存要用互斥信号量来保护,通知采用消息队列发送,tServer收到通知后需要给tClient反馈确认消息,如果tClient在一定时间内收不到确认消息,将重发通知,最大重传次数为3。 -Of design two the task tServer and tClient, tClient responsible for notifying the tS