<center>DEADLOCK PREVENTION</center> This ensure that at least one of this conditions can not cope by preventing occurrence of a deadlock. <center>There are four ways to prevent deadlock</center> * MUTUAL EXCLUSION Not require for shareable resources must hold for non-shareable resources. * COLD MUD This must guarantee that when ever a process requests a resources, it does not hold any other resources. * NO PREMPTION If a process that is holding some resources request another resources, that can not be immediately allocated to it, then all the resources currently being hold are released. * CIRCULAR WAIT Impose in total ordering of all resources types and require that each process request resources in an increasing order of enumeration. <center>https://steemitimages.com/DQmSvQ4hwrbMLLa3wPBYFcmwAJiVzb5BFPYDCyLZzExmUaB/image.png</center> <center>Image credit: [Wikimedia Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Dekker%27s_Algorithm.svg/2000px-Dekker%27s_Algorithm.svg.png), public domain</center> <center>DEADLOCK AVOIDANCE</center> * Simplest and the most useful model requires that each process declare the maximum number of resources of each type that it may need. * The deadlock avoidance algorithm dynamically ex-ermines the result allocation state to the ensure that there can never be a circular wait condition. Resources allocation state as defined by the number of available and allocated resources and the maximum demands of the processes. <center>https://steemitimages.com/DQmYpW9KzsCPRCfWusHHoVv2EjjwFgDn2e7rCBTBdyd99gC/image.png</center> <center>Image credit: [Wikimedia Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/CSMACD-Algorithm.svg/2000px-CSMACD-Algorithm.svg.png), public domain</center> <center>DEADLOCK DETECTION</center> If the system doesn't employ a deadlock prevention or a deadlock avoidance. An algorithm then a deadlock situation may occur. In those environment the system must be able to provide. * An algorithm that ex-ermine the state of a system to determine if a deadlock has occurred. * An algorithm to recover from a deadlock. <center>https://steemitimages.com/DQmV3wL9V6EW3TuupzxKUtKZo8EM772idgpexNQXkfCJMnM/image.png</center> <center>Image credit: [Wikimedia Commons](https://upload.wikimedia.org/wikipedia/en/5/50/RoundRobin.jpg), public domain</center>
post_id | 42,427,019 |
---|---|
author | hormorhk18 |
permlink | a-short-post-on-deadlock-prevention-deadlock-avoidance-and-deadlock-detection |
category | steemstem |
json_metadata | "{"links": ["https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Dekker%27s_Algorithm.svg/2000px-Dekker%27s_Algorithm.svg.png", "https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/CSMACD-Algorithm.svg/2000px-CSMACD-Algorithm.svg.png", "https://upload.wikimedia.org/wikipedia/en/5/50/RoundRobin.jpg"], "format": "markdown", "app": "steemit/0.1", "image": ["https://steemitimages.com/DQmSvQ4hwrbMLLa3wPBYFcmwAJiVzb5BFPYDCyLZzExmUaB/image.png"], "tags": ["steemstem", "stemng", "wafrica", "nigeria", "programming"]}" |
created | 2018-04-07 01:43:06 |
last_update | 2018-04-07 01:43:06 |
depth | 0 |
children | 3 |
net_rshares | 1,490,381,238,019 |
last_payout | 2018-04-14 01:43:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 3.847 SBD |
curator_payout_value | 1.124 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 2,353 |
author_reputation | 3,612,249,817,302 |
root_title | "A SHORT POST ON DEADLOCK PREVENTION, DEADLOCK AVOIDANCE AND DEADLOCK DETECTION" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 78,146,923,081 | 0.02% | ||
kushed | 0 | 18,037,000,974 | 0.07% | ||
bue | 0 | 27,975,439,195 | 100% | ||
eric-boucher | 0 | 1,955,809,045 | 0.03% | ||
anwenbaumeister | 0 | 12,933,044,974 | 0.07% | ||
liberosist | 0 | 3,838,262,275 | 0.07% | ||
frontpage | 0 | 1,246,168,485 | 6% | ||
meerkat | 0 | 32,455,642,605 | 0.07% | ||
curie | 0 | 23,097,647,344 | 0.07% | ||
vannour | 0 | 3,484,510,152 | 5% | ||
hendrikdegrote | 0 | 258,013,550,750 | 0.07% | ||
steemcultures | 0 | 157,618,325 | 5% | ||
gbenga | 0 | 308,484,422,856 | 100% | ||
bat-junior | 0 | 24,787,315,022 | 100% | ||
ajala | 0 | 3,480,003,689 | 50% | ||
locikll | 0 | 211,247,686 | 0.14% | ||
mahdiyari | 0 | 335,324,648 | 0.03% | ||
aboutyourbiz | 0 | 105,465,060 | 0.07% | ||
cryptokrieg | 0 | 121,161,859 | 0.07% | ||
slickhustler007 | 0 | 50,346,430 | 0.03% | ||
thinknzombie | 0 | 1,564,548,520 | 0.03% | ||
justdentist | 0 | 594,489,243 | 1% | ||
steemhive | 0 | 648,271,212,776 | 100% | ||
jordanx2 | 0 | 59,409,806 | 0.03% | ||
hormorhk18 | 0 | 5,196,511,139 | 100% | ||
bollutech | 0 | 8,124,174,062 | 100% | ||
venzy | 0 | 764,215,796 | 100% | ||
peaceandwar | 0 | 161,971,884 | 0.03% | ||
sallyquin | 0 | 3,788,515,782 | 50% | ||
skycae | 0 | 96,567,023 | 0.07% | ||
damdap | 0 | 351,872,503 | 100% | ||
zalandir | 0 | 147,623,964 | 0.03% | ||
musicayfarandula | 0 | 51,164,116 | 10% | ||
steemotion | 0 | 82,789,287 | 0.03% | ||
wanderingdanish | 0 | 254,870,307 | 1% | ||
dynamicrypto | 0 | 151,365,031 | 1% | ||
wisewoof | 0 | 109,841,084 | 0.03% | ||
positiveninja | 0 | 112,002,395 | 0.03% | ||
qberry | 0 | 422,671,460 | 0.03% | ||
dullipee | 0 | 593,487,403 | 100% | ||
victorcovrig | 0 | 65,368,126 | 1% | ||
wafrica | 0 | 20,438,393,572 | 2.73% | ||
imammugi | 0 | 61,268,285 | 100% |
wow really nice post, dont forget to tell people that when they experience deadlock while using their pc they shouldn't dive for the power button especially we nigerians
post_id | 42,428,622 |
---|---|
author | kally |
permlink | re-hormorhk18-a-short-post-on-deadlock-prevention-deadlock-avoidance-and-deadlock-detection-20180407t020119616z |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemstem"]}" |
created | 2018-04-07 02:01:21 |
last_update | 2018-04-07 02:01:21 |
depth | 1 |
children | 1 |
net_rshares | 5,753,391,864 |
last_payout | 2018-04-14 02:01:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 169 |
author_reputation | 224,445,607,823 |
root_title | "A SHORT POST ON DEADLOCK PREVENTION, DEADLOCK AVOIDANCE AND DEADLOCK DETECTION" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
hormorhk18 | 0 | 5,196,511,139 | 100% | ||
kally | 0 | 556,880,725 | 100% |
thanks
post_id | 42,459,705 |
---|---|
author | hormorhk18 |
permlink | re-kally-re-hormorhk18-a-short-post-on-deadlock-prevention-deadlock-avoidance-and-deadlock-detection-20180407t083951479z |
category | steemstem |
json_metadata | "{"app": "steemit/0.1", "tags": ["steemstem"]}" |
created | 2018-04-07 07:42:36 |
last_update | 2018-04-07 07:42:36 |
depth | 2 |
children | 0 |
net_rshares | 5,092,580,916 |
last_payout | 2018-04-14 07:42:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 6 |
author_reputation | 3,612,249,817,302 |
root_title | "A SHORT POST ON DEADLOCK PREVENTION, DEADLOCK AVOIDANCE AND DEADLOCK DETECTION" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
hormorhk18 | 0 | 5,092,580,916 | 100% |
Hello! I find your post valuable for the wafrica community! Thanks for the great post! @wafrica is now following you! ALWAYs follow @wafrica and use the wafrica tag!
post_id | 42,432,103 |
---|---|
author | wafrica |
permlink | re-a-short-post-on-deadlock-prevention-deadlock-avoidance-and-deadlock-detection-20180407t023743 |
category | steemstem |
json_metadata | {} |
created | 2018-04-07 02:37:45 |
last_update | 2018-04-07 02:37:45 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-04-14 02:37:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 165 |
author_reputation | 38,213,975,622,361 |
root_title | "A SHORT POST ON DEADLOCK PREVENTION, DEADLOCK AVOIDANCE AND DEADLOCK DETECTION" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |