Uncontested Lock Performance

Recently I wondered about the performance cost of preemptively putting monitor locks on small library methods that might conceivably be called from multiple threads. That’s a great subject for a micro-benchmark, so I wrote a few tests in C# and Java and posted the results in Uncontested Lock Performance. As it turns out, standard locking … Continue reading “Uncontested Lock Performance”

Check .NET Version is Public Domain

A few days ago I was asked to clarify the licensing of my Check .NET Version script for Inno Setup, so I wanted to confirm that it’s indeed public domain. Generally speaking, all the small code snippets on my website are in the public domain unless otherwise noted, and that’s probably how everyone treats small … Continue reading “Check .NET Version is Public Domain”