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)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 普兰县| 开封市| 乾安县| 南召县| 阿拉善盟| 宝兴县| 长治县| 于都县| 三穗县| 霸州市| 尤溪县| 德化县| 洞口县| 浏阳市| 安阳县| 九江市| 宁都县| 绍兴市| 丹东市| 石河子市| 仲巴县| 县级市| 保山市| 慈溪市| 甘孜县| 调兵山市| 民和| 灵宝市| 竹北市| 莱西市| 安塞县| 赤峰市| 怀化市| 富民县| 横山县| 河北区| 凤城市| 海兴县| 娄烦县| 澜沧| 乌兰察布市|