
操作系统
天山懒人
数字IC设计与验证,从事SOC相关行业
展开
-
数据结构(二)饥饿与死锁的区别
Deadlock – two or more processes are waiting indefinitely for an event that can be caused by only one of the waiting processes.Starvation – indefinite blocking. A process may never be removed from th原创 2017-09-21 21:20:28 · 876 阅读 · 0 评论 -
操作系统(三)同步进程问题--理发师的睡觉问题
The Sleeping-Barber Problem.A barbershop consists of a waiting room with n chairs and barber room containing the barber chair.If these are no customers to be served ,the barber goes to sleep.If a custo原创 2017-09-26 16:45:11 · 9230 阅读 · 2 评论 -
操作系统(一)协作进程临界区一些代码理解--Peterson’s Solution
Process SynchronizationThe Critical-Section Problem (临界区问题)Peterson’s SolutionSynchronization HardwareConcurrent access to shared data may result in data inconsistency. Maintaining data consistenc原创 2017-09-19 21:42:18 · 2511 阅读 · 0 评论