O'Reilly logo

Getting Started with the Internet of Things by Cuno Pfister

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What You Should Know About Multithreading

Using multithreading is simple. Using it correctly isn’t. It’s like a sword that consists of only a sharp, double-edged blade and no handle: it cuts anything, and usually starts by cutting the one who carries it. I have briefly explained race conditions and deadlocks, but there are even more subtle issues with strange names such as livelock, fairness, starvation, and—worst of all—memory models.

Your program may reliably work on the current version of a .NET implementation even if it contains multithreading errors. But those errors might break things on another .NET implementation, on the next release of the same implementation, or even on the same .NET implementation executed on another processor architecture. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required