Back To Basics - Race Conditions, Part 1

Download this episode

Description

Welcome to the "Back To Basics" Screencast Series. In this series of screencasts, we will be taking a look at specific .NET language features, as well as features of the .NET Framework itself. We'll be playing particular attention to how these various features work and why you, as a developer, need to understand how they work.

In the first several screencasts, we'll take a look at several common pitfalls when writing multi-threaded code. In this screencast, we'll dive into race conditions, how they can show up in your code, and what you can do to fix them.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      mavstar
      Congratulations on a great start to what promises to be an excellent series!
    • User profile image
      mattv
      Nice little introduction to what race conditions are. However, I thought you could dig a little deeper into what Interlocked.Increment does, and also give examples of other methods of locking chunks of code. It's called "Back To Basics" after all.
    • User profile image
      JasonOlson
      Great ideas Matt. I will dig deeper into Interlocked.Increment in the next Race Conditions screencast. I'll cover other locking methods in a future screencast as well.

      Thanks for watching!
    • User profile image
      JasonOlson
      Thanks Mavstar!
    • User profile image
      Hammerstein
      I like seeing how things are done, rather than listening to lengthy discussions. I get lost in the terminology sometimes, and find it easier to watch it working. Enjoyed the screencast, thought it was very informative. I agree with Matty in that delving further into the functionality of the methods you described would be helpful.  But look forward to seeing this series continue.
    • User profile image
      DomGreen
      Great podcast, I can see that this series is going to be really good! Can't wait for more coding goodness in the next video.
    • User profile image
      chrisghardw​ick
      Great podcast. It'll be sure to check out your future posts.
    • User profile image
      thebogdan
      A little late to the party, but I thought this podcast was very informative.
    • User profile image
      Randhir

      Nice video. Any plans on doing Part 2, .... n ? I have been waiting for long.

    • User profile image
      techspiritz

      Hii.. Great video.. Please continue the series.. waiting for part2...

    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.