Posted By: Phil Pennington | Nov 11th @ 10:23 AM | 12,336 Views | 5 Comments
Join Josh and Steve as they demonstrate how to use various concurrency-safe Collections classes.

Collections and related constructs are new with .NET4 and Visual Studio 2010.

Learn more about the System.Collections.Concurrent namespace and keep abreast of Parallel Computing tools and techniques via the Concurrency Dev Center.

See all videos in this series.

Rating:
6
0

Thanks for the tour of the new concurrent data structures available in .Net 4.0 - some good stuff in there!  I also wanted to thank Steve for his presentation at CINNUG a few weeks back on parallel programming in .Net 4.0.  I enjoyed it greatly and look forward to being able to use some of this on my own projects.

This one looks nice.  Not at all like the complete hack job "Countdown Synchronization Primitive" that I do hope they will be telling us has been fixed or removed.

this presider speaks too fast, we need time to consume the newborn thing whatever they are. So i hope there is a little interval to understand them. Thank you.

LukePuplett
LukePuplett
They're my own arms

The bag rocks.

 

@Simon Gao: if watching in Windows Media Player, you can slow down the playback using the built in enhancements.

I'm curious about what pattern is recommended for when a Try... operation fails.  For example, one might consider this without too much thought:

 


string myValue; 

while(!myQueue.TryDequeue(out myValue)){} 

//now I have my value...

 

Because in that case, I really really needed my value as soon as possible...  Lets say I don't spin on the TryDequeue like above, what are the alternatives?  Timer retry?

Microsoft Communities