<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Telling Windows we&#8217;re not really &#8220;Not Responding&#8221;</title>
	<atom:link href="http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/</link>
	<description>Life, .NET, and Cats</description>
	<pubDate>Mon, 08 Sep 2008 15:05:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Pradeep</title>
		<link>http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5401</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 19 Dec 2006 15:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5401</guid>
		<description>hello , I also face above problem. any body have any soluton for winxp ?
</description>
		<content:encoded><![CDATA[<p>hello , I also face above problem. any body have any soluton for winxp ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe White</title>
		<link>http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5400</link>
		<dc:creator>Joe White</dc:creator>
		<pubDate>Wed, 17 Aug 2005 10:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5400</guid>
		<description>Already thought of that, but the &lt;a target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/peekmessage.asp" rel="nofollow"&gt;MSDN docs for PeekMessage&lt;/a&gt; say that it's only for windows that belong to the current thread: if you specify a window handle, it has to belong to the current thread; and if you pass NULL for a window handle (as this code does), it will only read messages for windows belonging to the current thread. So I don't think calling PeekMessage from a secondary thread would do any good for windows that belong to the primary thread (though I didn't actually try it).
</description>
		<content:encoded><![CDATA[<p>Already thought of that, but the <a target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/messagesandmessagequeues/messagesandmessagequeuesreference/messagesandmessagequeuesfunctions/peekmessage.asp" rel="nofollow">MSDN docs for PeekMessage</a> say that it&#8217;s only for windows that belong to the current thread: if you specify a window handle, it has to belong to the current thread; and if you pass NULL for a window handle (as this code does), it will only read messages for windows belonging to the current thread. So I don&#8217;t think calling PeekMessage from a secondary thread would do any good for windows that belong to the primary thread (though I didn&#8217;t actually try it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim McKeeth</title>
		<link>http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5399</link>
		<dc:creator>Jim McKeeth</dc:creator>
		<pubDate>Tue, 16 Aug 2005 14:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.excastle.com/2005/08/15/telling-windows-were-not-really-not-responding/#comment-5399</guid>
		<description>Why not just put a call in your TellWindowsWeArentFrozen in a seperate thread and have that thread call every second (less frequent then every 15 ms, but more then every 5 seconds).  Since that other thread doesn't do anything with the message is peeks it wouldn't cause any multi-threaded issues.&lt;br&gt;&lt;br&gt;This is also not a &#34;right&#34; solution, but it would fix your symptom without requiring you to modify all your long running data processing code.
</description>
		<content:encoded><![CDATA[<p>Why not just put a call in your TellWindowsWeArentFrozen in a seperate thread and have that thread call every second (less frequent then every 15 ms, but more then every 5 seconds).  Since that other thread doesn&#8217;t do anything with the message is peeks it wouldn&#8217;t cause any multi-threaded issues.</p>
<p>This is also not a &quot;right&quot; solution, but it would fix your symptom without requiring you to modify all your long running data processing code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
