Concurrent Programming with .NET4 Collections

Sign in to queue

Description

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.

Embed

Download

Download this episode

The Discussion

  • User profile image
    dougr

    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.

  • User profile image
    jlomax

    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.

  • User profile image
    Simon Gao

    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.

  • User profile image
    LukePuplett

    The bag rocks.

     

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

  • User profile image
    prujohn

    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?

Add Your 2 Cents