Thursday, February 09, 2006

Lock on this?

When writing attempting to write threadsafe code in C#, I'm always debating whether to lock on 'this' or some Object in existence purely for synchronization. Here are a few links contributing to this debate:

1. .NET Safe Thread Synchronization
2. Lock Choice

No comments: