Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Concurrent Programming with .NET4 Collections

10 minutes, 49 seconds


Right click “Save as…”

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.


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • 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.

  • 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?

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.