Tag Archives: synchronization

Object header get complicated

Object header, sync block, thin lock vs fat lock, hashcode – all of this and more will be explained in the following post. First, let’s make a brief overview on the object header in the CLR. What is the object … Continue reading

Posted in .NET, c# | Tagged , , , , , , , , , , , , | 2 Comments

One thing that you can do only with a reference type

What in your opinion possible to do only with reference type and no with value type without explicit boxing? What the fact of derived from object that give all reference type some ability that value types don’t have? You can … Continue reading

Posted in .NET | Tagged , , , , | Leave a comment

Deadlock Vs. Livelock

when more than one thread involve in our application we need to synchronize our shared data access. This synchronization can look like a simple thing in the first but if we look close at the details, we will see the … Continue reading

Posted in .NET | Tagged , , , , | Leave a comment