Why Atomic operations are not always thread safe

A question I saw on StackOverflow: Is accessing a bool field atomic in C#? In particular, do I need to put a lock around:class Foo{private bool _bar;//... in some function on any thread (or many threads)_bar = true;//... same for a readif (_bar) { ... }}This question was answered quickly by several users that quoted … Continue reading Why Atomic operations are not always thread safe

Three Fixes that helped me when windows failed to Install an update

I think that it happen to me at least once in each computer I own or worked on: While running Windows (or Microsoft) update I get an error claiming that the update could not be installed. This used to be a source of frustration for me. I needed to Google around and try solutions and … Continue reading Three Fixes that helped me when windows failed to Install an update

SharpPDB – .NET Class that reads and writes palm OS files

I'm the proud owner of a Palm Tungsten E2 device. It's amazing how this old device is still much better then newer mobile windows devices. It has great battery life, quick response time and easy to use PIM. And it seems I'm not only one that thinks so - you can read about it download … Continue reading SharpPDB – .NET Class that reads and writes palm OS files