In case you haven't noticed yet the new issue of MSDN magazine is available online. This issue focuses on multi-threading and parallel programming and has very interesting articles on that topic. The content is great - especially for developers that are interested in learning how to make the switch from sequential to parallel (multi threaded) … Continue reading MSDN Magazine October 2008 – Features Parallelism
Tag: Uncategorized
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