Here is an article that goes into the cost. Short answer is 50ns.
More Related Contents:
- Re-entrant locks in C#
- How to put a task to sleep (or delay) in C# 4.0?
- Is it OK to use a string as a lock object?
- Does a locked object stay locked if an exception occurs inside it?
- Monitor vs lock
- Do I need to lock or mark as volatile when accessing a simple boolean flag in C#?
- When is ReaderWriterLockSlim better than a simple lock?
- Should thread-safe class have a memory barrier at the end of its constructor?
- Parallel doesnt work with Entity Framework
- Wait for QueueUserWorkItem to Complete
- What’s wrong with using Thread.Abort()
- Volatile vs. Interlocked vs. lock
- How to abort a Task like aborting a Thread (Thread.Abort method)?
- How to pass parameters to ThreadStart method in Thread?
- Updating an ObservableCollection in a separate thread
- Benefits of using async and await keywords
- A reproducible example of volatile usage
- thread with multiple parameters
- Event handlers not thread safe? [duplicate]
- Difference between lock(locker) and lock(variable_which_I_am_using)
- What is the difference between ManualResetEvent and AutoResetEvent in .NET?
- Lock (Monitor) internal implementation in .NET
- .NET 4.0 and the dreaded OnUserPreferenceChanged Hang
- Reading an int that’s updated by Interlocked on other threads
- How to get awaitable Thread.Sleep?
- ThreadStaticAttribute in ASP.NET
- increment a count value outside parallel.foreach scope
- How to lock on an integer in C#?
- Async and Await with For Loop [duplicate]
- Run async method 8 times in parallel