honzeland

          記錄點滴。。。

          常用鏈接

          統計

          Famous Websites

          Java

          Linux

          P2P

          最新評論

          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.

          posted on 2007-03-30 15:47 honzeland 閱讀(782) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 武功县| 西华县| 会理县| 镇康县| 永顺县| 土默特右旗| 乐陵市| 泾阳县| 西城区| 凤城市| 永泰县| 宿迁市| 包头市| 谷城县| 南汇区| 四平市| 玉门市| 石屏县| 九江县| 饶河县| 灵寿县| 武隆县| 新巴尔虎右旗| 彭泽县| 元朗区| 湘潭市| 图们市| 万山特区| 万年县| 梁平县| 新营市| 嘉禾县| 高尔夫| 张家港市| 松滋市| 宣恩县| 黄龙县| 门头沟区| 兰西县| 灌南县| 兴和县|