<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Multithreading on Andrew Walsh</title><link>http://awalsh128.com/tags/multithreading/</link><description>Recent content in Multithreading on Andrew Walsh</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Andrew Walsh</copyright><lastBuildDate>Sat, 25 Oct 2014 18:18:59 -0700</lastBuildDate><atom:link href="http://awalsh128.com/tags/multithreading/feed.xml" rel="self" type="application/rss+xml"/><item><title>WPF and data multithreading deadlocks.</title><link>http://awalsh128.com/wpf-and-data-multithreading-deadlocks/</link><pubDate>Wed, 21 Dec 2011 00:00:00 -0800</pubDate><guid>http://awalsh128.com/wpf-and-data-multithreading-deadlocks/</guid><description>&lt;h2 class="relative group"&gt;WPF &amp;amp; Multithreading&#10; &lt;div id="wpf--multithreading" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#wpf--multithreading" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;In designing applications, it may be advantageous to run data processing&#10;methods on a separate thread from the UI. This allows greater&#10;responsiveness in the application and takes advantage of concurrent&#10;computation.&lt;/p&gt;</description></item><item><title>Reentrant lock acquires in CLR.</title><link>http://awalsh128.com/reentrant-lock-acquires-in-clr/</link><pubDate>Fri, 29 Jul 2011 00:00:00 -0700</pubDate><guid>http://awalsh128.com/reentrant-lock-acquires-in-clr/</guid><description>&lt;p&gt;I always like when a post gets to the point (especially after searching&#10;in Google). In short, &lt;em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms741870.aspx" target="_blank" rel="noreferrer"&gt;if you perform an operation that waits to&#10;acquire a lock, the thread doesn't actually&#10;stop&lt;/a&gt;&lt;/em&gt;.&lt;br&gt;&#10;&lt;br&gt;&#10;In concrete terms of .NET coding, if you call the&#10;&lt;a href="http://msdn.microsoft.com/en-us/library/system.threading.waithandle.waitone.aspx" target="_blank" rel="noreferrer"&gt;WaitOne&lt;/a&gt; method&#10;on a thread, it may still process events that the CLR deems &amp;quot;high&#10;priority&amp;quot;. This can be a big problem if the event handlers go into the&#10;critical region you are trying to protect.&lt;br&gt;&#10;\&lt;/p&gt;</description></item></channel></rss>