<?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/"
	>

<channel>
	<title>awkward.org &#187; Darwin Kernel</title>
	<atom:link href="http://awkward.org/tag/darwin-kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://awkward.org</link>
	<description>T &#38; M - Thoughts &#38; Musings</description>
	<lastBuildDate>Sun, 14 Nov 2010 20:40:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Don&#8217;t ignore baseclass methods in OSObject</title>
		<link>http://awkward.org/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fawkward.org%2F2009%2F03%2F01%2Fdont-ignore-baseclass-methods-in-osobject%2F&#038;seed_title=Don%26%238217%3Bt+ignore+baseclass+methods+in+OSObject</link>
		<comments>http://awkward.org/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fawkward.org%2F2009%2F03%2F01%2Fdont-ignore-baseclass-methods-in-osobject%2F&#038;seed_title=Don%26%238217%3Bt+ignore+baseclass+methods+in+OSObject#comments</comments>
		<pubDate>Mon, 02 Mar 2009 01:38:31 +0000</pubDate>
		<dc:creator>awk</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Darwin Kernel]]></category>
		<category><![CDATA[IOKit]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[OSObject]]></category>

		<guid isPermaLink="false">http://awkward.org/?p=217</guid>
		<description><![CDATA[Having spent an hour so (and more than a few reboots) &#8211; here&#8217;s a reminder to myself (and other hapless souls).  Just because OSObject is pretty abstract and can&#8217;t be constructed on it&#8217;s own that doesn&#8217;t mean you can ignore its methods. In my case I was stymied by an apparent &#8216;hanging&#8217; reference even though [...]]]></description>
			<content:encoded><![CDATA[<p>Having spent an hour so (and more than a few reboots) &#8211; here&#8217;s a reminder to myself (and other hapless souls). </p>
<p>Just because OSObject is pretty abstract and can&#8217;t be constructed on it&#8217;s own that doesn&#8217;t mean you can ignore its methods. In my case I was stymied by an apparent &#8216;hanging&#8217; reference even though I could see that my very simple OSObject subclass was allocated only once and free() was called as the reference count went to zero.</p>
<p>My mistake was not to call the baseclass OSObject::free() from my own method &#8211; so of course although I thought (knew) I was done with the object the rest of the IOKit/kernel wasn&#8217;t so convinced.</p>
<p>So&#8230; don&#8217;t forget that OSObject still does very important things &#8211; even if it does seem a bit of a placeholder !</p>
]]></content:encoded>
			<wfw:commentRss>http://awkward.org/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fawkward.org%2F2009%2F03%2F01%2Fdont-ignore-baseclass-methods-in-osobject%2F&#038;seed_title=Don%26%238217%3Bt+ignore+baseclass+methods+in+OSObject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

