Showing results for February 2011 - .NET Parallel Programming

Feb 15, 2011
0
0

SpinWait.SpinUntil for unit testing

Stephen Toub - MSFT
Stephen Toub - MSFT

One of the hidden gems in .NET 4 is the System.Threading.SpinWait type.  This type is typically used for implementing lock-free solutions, and is used heavily throughout the rest of the threading and parallelism support in .NET 4.  That’s why I call it “hidden”, because most folks don’t implement their own lock-fre...

Parallel Extensions.NET 4Coordination Data Structures