<?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>blog.ekvang.com</title>
	<atom:link href="http://eekvang.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eekvang.wordpress.com</link>
	<description>espen's note to self</description>
	<lastBuildDate>Tue, 27 May 2008 20:14:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='eekvang.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>blog.ekvang.com</title>
		<link>http://eekvang.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://eekvang.wordpress.com/osd.xml" title="blog.ekvang.com" />
	<atom:link rel='hub' href='http://eekvang.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Silverlight 2.0 and Deep Zoom</title>
		<link>http://eekvang.wordpress.com/2008/05/27/silverlight-20-and-deep-zoom/</link>
		<comments>http://eekvang.wordpress.com/2008/05/27/silverlight-20-and-deep-zoom/#comments</comments>
		<pubDate>Tue, 27 May 2008 20:14:31 +0000</pubDate>
		<dc:creator>eekvang</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[deep zoom]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eekvang.wordpress.com/?p=5</guid>
		<description><![CDATA[After attending MIX 08 I was amazed by the presentation given on a new feature of Silverlight 2.0 Beta 1 called Deep Zoom. The presentation was given on Hard Rock Cafè&#8217;s memorabilia. I will not spend time trying to explane how it works, instead I recommend you to try it out. With Deep Zoom Composer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=5&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After attending <a href="http://visitmix.com">MIX 08</a> I was amazed by the presentation given on a new feature of Silverlight 2.0 Beta 1 called Deep Zoom. The presentation was given on Hard Rock Cafè&#8217;s <a href="http://memorabilia.hardrock.com/">memorabilia</a>. I will not spend time trying to explane how it works, instead I recommend you to try it out.</p>
<p>With <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=457b17b7-52bf-4bda-87a3-fa8a4673f8bf&amp;displaylang=en">Deep Zoom Composer</a> you can easily create a deep zoom image from your high resoluting images and retrieve a similiar effect as the one given at Hard Rock Cafè&#8217;s memorabilia. If you like more details on how this actually works read a series of blog entries found <a href="http://projectsilverlight.blogspot.com/2008/03/dissecting-hard-rock-memorabilia-and.html">here</a> written by Wilfred Pinto.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eekvang.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eekvang.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eekvang.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eekvang.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eekvang.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=5&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eekvang.wordpress.com/2008/05/27/silverlight-20-and-deep-zoom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/753667923c8d03d16be69953b2f91b09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eekvang</media:title>
		</media:content>
	</item>
		<item>
		<title>WaitHandle.WaitAll</title>
		<link>http://eekvang.wordpress.com/2008/05/06/threadpoolwaitall/</link>
		<comments>http://eekvang.wordpress.com/2008/05/06/threadpoolwaitall/#comments</comments>
		<pubDate>Tue, 06 May 2008 20:31:42 +0000</pubDate>
		<dc:creator>eekvang</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Threading]]></category>
		<category><![CDATA[ThreadPool]]></category>
		<category><![CDATA[WaitHandle]]></category>

		<guid isPermaLink="false">http://eekvang.wordpress.com/?p=4</guid>
		<description><![CDATA[In many situations there are tasks that can run in parallell. To create a separate thread for each such task is useful, and below is an example that makes use of WaitHandle and ThreadPool to make sure that all tasks are completed before moving on with the next step in the application. This simple win-form [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=4&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In many situations there are tasks that can run in parallell. To create a separate thread for each such task is useful, and below is an example that makes use of WaitHandle and ThreadPool to make sure that all tasks are completed before moving on with the next step in the application.</p>
<p>This simple win-form application creates a thread (from now on called the taskrunner) that is to perform two separate tasks. Each task is run in a separate thread and signals to the taskrunner when they are finished. The taskrunner will wait for a predefined timeout value if given to the WaitHandle.WaitAll method.</p>
<p>Happy threading!</p>
<pre style="border:solid 1px #151C2F;font-size:1.3px em;background:#EAEAEA;margin:10px;padding:10px;"><code>
<strong>public partial class ThreadPoolWaitAllForm : Form
{
    public ThreadPoolWaitAllForm()
    {
        InitializeComponent();

        /* WaitHandle.WaitAll is not allowed on STA-thread,
         * hence a thread must be created to
         * perform the work needed. */
        ThreadPool.QueueUserWorkItem(
            delegate { PerformWork(); }
            );
    }

    private void PerformWork()
    {
        /* initialize a waithandle for each thread,
         * such that it can signal when
         * it's work is done. */
        ManualResetEvent[] waitHandlers =
            new ManualResetEvent[2];
        waitHandlers[0] =
            new ManualResetEvent(false);
        waitHandlers[1] =
            new ManualResetEvent(false);            

        /* queue the work to be done,
         * pass in reference to the waithandle
         * assigned to the thread */
        ThreadPool.QueueUserWorkItem(
            delegate { FirstJob(waitHandlers[0]); }
            );
        ThreadPool.QueueUserWorkItem(
            delegate { SecondJob(waitHandlers[1]); }
            );

        /* wait for all threads */
        int timeOut = 10000;
        WaitHandle.WaitAll(waitHandlers, timeOut);

        MessageBox.Show("Done with work");
    }

    private void FirstJob(ManualResetEvent signal)
    {
        Thread.Sleep(1000);
        signal.Set();
    }

    private void SecondJob(ManualResetEvent signal)
    {
        Thread.Sleep(1000);
        signal.Set();
    }
}
</strong></code>
</pre>
<p><strong></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eekvang.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eekvang.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eekvang.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eekvang.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eekvang.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=4&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eekvang.wordpress.com/2008/05/06/threadpoolwaitall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/753667923c8d03d16be69953b2f91b09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eekvang</media:title>
		</media:content>
	</item>
		<item>
		<title>First post</title>
		<link>http://eekvang.wordpress.com/2008/05/06/first-post/</link>
		<comments>http://eekvang.wordpress.com/2008/05/06/first-post/#comments</comments>
		<pubDate>Tue, 06 May 2008 19:17:19 +0000</pubDate>
		<dc:creator>eekvang</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://eekvang.wordpress.com/?p=3</guid>
		<description><![CDATA[Well, as many others I have also come to the point where I&#8217;ve decided to create a small blog. This blog is, as the title says &#8220;note to self&#8221;, meant as a place where I can share my experiences and ideas from programming and other issues related to computer science. Hope to see you around!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=3&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, as many others I have also come to the point where I&#8217;ve decided to create a small blog. This blog is, as the title says &#8220;note to self&#8221;, meant as a place where I can share my experiences and ideas from programming and other issues related to computer science.</p>
<p>Hope to see you around!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/eekvang.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/eekvang.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eekvang.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eekvang.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eekvang.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eekvang.wordpress.com&amp;blog=3621162&amp;post=3&amp;subd=eekvang&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eekvang.wordpress.com/2008/05/06/first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/753667923c8d03d16be69953b2f91b09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eekvang</media:title>
		</media:content>
	</item>
	</channel>
</rss>
