¡@

Home 

c# Programming Glossary: duffy

The need for volatile modifier in double checked locking in .NET

http://stackoverflow.com/questions/1964731/the-need-for-volatile-modifier-in-double-checked-locking-in-net

chris brumme's article everything links to this Joe Duffy Broken Variants of Double Checked Locking luis abreu's series..

Using lock statement within a loop in C#

http://stackoverflow.com/questions/2113261/using-lock-statement-within-a-loop-in-c-sharp

us magazine cc163715.aspx I said probably because as Joe Duffy wisely says once you venture even slightly outside of the bounds.. code correctly. If you care about this you should read Joe Duffy's articles http www.bluebytesoftware.com blog 2006 01 26 BrokenVariantsOnDoublecheckedLocking.aspx..

Lock-free multi-threading is for real threading experts

http://stackoverflow.com/questions/2528969/lock-free-multi-threading-is-for-real-threading-experts

them most of the time that is... see for example this Joe Duffy Brad Abrams Vance Morrison greatness on lazy initialization.. Apps . ...and of course as @Eric mentioned Joe Duffy is a definitive read on the subject. A good STM can get as close..

Checking stack size in C#

http://stackoverflow.com/questions/2901185/checking-stack-size-in-c-sharp

following is heavily based on an excellent article by Joe Duffy . We know or will make the assumptions that Stack memory is..

Calling null on a class vs Dispose()

http://stackoverflow.com/questions/574019/calling-null-on-a-class-vs-dispose

you can. There are two links there read both ideally. Joe Duffy has a very long set of guidelines around finalizers and IDisposable..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

while ago but it's not valid. I checked it with either Joe Duffy or Vance Morrison a while ago I can't remember which. Without..