Starvation and Deadlock
来源:互联网 发布:js两个数组去重复 编辑:程序博客网 时间:2024/06/05 15:52
Starvation and Deadlock
Starvation and Deadlock are the two kinds of the process status. If a process stays as starvation or deadlock, that means it is waiting for getting the needed share resource which has been holding by other processes. When the resources are released , the process status is going to be changed from starvation to run, but for deadlock, it has no chance to get the share resource the process needs because another process which has been holding the share resource needed by the first process, but the second process is staying there to wait for the first process to release the another share resource needed by itself, that is to say, they are waiting for each other's releasing the share resource they need. Deadlock is a innormal status which should be as much avoided as possible by the system designer.I do think they are the two status of one's life, try to avoid deadlock, starvation is allowed, but do not only wait there to unacitvely get the released resource, go around to look for what you needs, on the way, the important thing is to learn how to abandon the resource you've got. The new resource you really needed may get the chance to be in touch only after the abandonment. Sometimes, it needs a long and boring time to get or understand what is the really love in your heart, however worthy it is. Remember, don't give up your belief, the root of your prospect.
Starvation and Deadlock are the two kinds of the process status. If a process stays as starvation or deadlock, that means it is waiting for getting the needed share resource which has been holding by other processes. When the resources are released , the process status is going to be changed from starvation to run, but for deadlock, it has no chance to get the share resource the process needs because another process which has been holding the share resource needed by the first process, but the second process is staying there to wait for the first process to release the another share resource needed by itself, that is to say, they are waiting for each other's releasing the share resource they need. Deadlock is a innormal status which should be as much avoided as possible by the system designer.
I do think they are the two status of one's life, try to avoid deadlock, starvation is allowed, but do not only wait there to unacitvely get the released resource, go around to look for what you needs, on the way, the important thing is to learn how to abandon the resource you've got. The new resource you really needed may get the chance to be in touch only after the abandonment. Sometimes, it needs a long and boring time to get or understand what is the really love in your heart, however worthy it is. Remember, don't give up your belief, the root of your prospect.
- Starvation and Deadlock
- deadlock vs livelock vs Starvation
- 死锁(deadlock)、活锁(livelock)与饿死(starvation)
- 18.饥饿和公平(Starvation and Fairness)
- Deadlock
- deadlock
- Deadlock
- Deadlock
- DeadLock
- DeadLock
- Deadlock
- deadLock
- find out deadlock processid and kill it
- Deadlock: the problem and a solution
- The Java™ Tutorials — Concurrency :Starvation and Livelock 饥饿和活锁
- 14.5.5.2 Deadlock Detection and Rollback Deadlock 检测和回滚
- 14.2.2.7 Implicit Transaction Commit and Rollback和14.2.2.8 Deadlock Detection and Rollback
- be careful for sqlitedatabase access and synchronized sync block encounter deadlock
- code review (ZZ)
- 黑白图像显示栈版
- 求职感慨
- [转] 贪吃蛇游戏(有BUG)
- source insight代码格式化(Astyle)
- Starvation and Deadlock
- IE6中absolute定位的对象消失了!
- UAC技巧:使 Windows 内置程序默认以管理员权限运行
- linux下批量增加文件后缀名
- LoadControl 传递参数
- 嵌入式博客收集
- MFC中将所画图像保存到图像文件
- 设计模式学习笔记(十四)—Command模式
- 什么是writeObject 和readObject?可定制的序列化过程