News for hackers. Stuff that matters.
Re:Common Multithreading Mistakes in C# – Unsafe Assumptions by TillE on Wednesday February 22, 2017 @01:23PM (#13707754)
That's no reason for avoiding atomics in simple use cases. "Use locks and then profile" is fairly bad advice. Forget the profiler and always use atomics in simple situations where you know exactly how they work. Just don't try anything complicated with them.

There are no comments on this comment yet.