Update WinForm interface from a different thread

Well, this is a typical issue when you have a thread that works (i.e. a Workflow) and a UI that needs to be updated. Let assume that you have a WinFom and you need to update its windows Title from another thread. The other thread needs to call “UpdateTitle” public method of current Form instance….

0

Avoid threads deadlock

On this month’s issue of MSDN Magazine, Stephen Toub describe the class DdMonitor. DdMonitor implements almost all interfaces exposed by .NET System.Threading.Monitor class but includes deadlock detection capabilities too. With the objective to make available a lock(…) keyword replacement, a static DdMonitor.Lock(…) is implemented too. A System.Threading.Monitor replacement to avoid threads deadlocks

0