<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Team OS - ITFN2601</title>
	<atom:link href="http://teamos.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://teamos.wordpress.com</link>
	<description>Operating System Basics</description>
	<lastBuildDate>Tue, 25 Mar 2008 23:50:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='teamos.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Team OS - ITFN2601</title>
		<link>http://teamos.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://teamos.wordpress.com/osd.xml" title="Team OS - ITFN2601" />
	<atom:link rel='hub' href='http://teamos.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Study Notes</title>
		<link>http://teamos.wordpress.com/2008/03/10/three-is-the-magic-number/</link>
		<comments>http://teamos.wordpress.com/2008/03/10/three-is-the-magic-number/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 00:01:05 +0000</pubDate>
		<dc:creator>teamos</dc:creator>
				<category><![CDATA[Study Notes]]></category>
		<category><![CDATA[Critical Region]]></category>
		<category><![CDATA[Interprocess Communications]]></category>
		<category><![CDATA[Race conditions]]></category>

		<guid isPermaLink="false">http://teamos.wordpress.com/?p=3</guid>
		<description><![CDATA[5****IMPORTANT**** (12 POINTS ON THE TEST!) CONDITIONS FOR DEADLOCK All four of these conditions must be present for deadlock to occur.  If one is not present, deadlock cannot occur. Mutual exclusion of resources – situation where only one process can have the resource.  The resource is not shared. Hold and Wait – a process with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teamos.wordpress.com&amp;blog=2616448&amp;post=3&amp;subd=teamos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>5****IMPORTANT****<br />
(12 POINTS ON THE TEST!)</p>
<p>CONDITIONS FOR DEADLOCK</p>
<p>All four of these conditions must be present for deadlock to occur.  If one is not present, deadlock cannot occur.</p>
<ol>
<li>Mutual exclusion of resources – situation where only one process can have the resource.  The resource is not shared.</li>
<li>Hold and Wait – a process with a resource holds on to that resource until it gets ALL of the resources it needs to complete the process.<br />
GREEDY.  Example:  If a process needs a CD burner and a tape drive to complete the process and the burner is available, the process cannot grab the burner and hold it until the tape drive is available.  This would keep other process that might be able to use the burner from using it.</li>
<li>Non-preemptable resource.  If you have a resource that you can’t give back until you are finished with it.</li>
<li>Circular wait – if you have a chain of processes waiting for the resource and no one can go because another process is holding the resource they need. “Must be a circular chain of two or more processes, each of which is waiting for a resource held by the next member of the chain.”  Think of the dining philosophers and the chopsticks.  If they are all sitting around the table holding one chopstick, no one will ever get their second chopstick.</li>
</ol>
<p>Remember!!  Deadlock is FOREVER!<br />
<P><br />
<a href="http://teamos.wordpress.com/study-questions/">Click here for the study questions</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/teamos.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/teamos.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/teamos.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/teamos.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/teamos.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=teamos.wordpress.com&amp;blog=2616448&amp;post=3&amp;subd=teamos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://teamos.wordpress.com/2008/03/10/three-is-the-magic-number/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ec0e95654362339db50a176b6d62d4db?s=96&#38;d=identicon" medium="image">
			<media:title type="html">teamos</media:title>
		</media:content>
	</item>
	</channel>
</rss>
