Archive

Posts Tagged ‘Enter Monitor’

Monitor.Enter, Thread aborts and orphaned locks

September 9th, 2009
Daniel Marbach

Back from holiday from an intense ten days of biking and partying on Mallorca Port Sollér and Cala Ratjada I found this exiting article about the problem of Monitor.Enter when the entering thread is aborted at the “wrong” position in the code. I think it’s worth reading the article because developers should be aware about this.

Joe Duffy’s Weblog – Monitor.Enter, thread aborts, and orphaned locks

and “The moth’s” interesting hint about the new forthcoming API changes in .NET 4.0 regarding the problem mentioned in the above article.

The Moth – .NET 4: Monitor.Enter replaced by Monitor.Enter

 

.NET , , ,