Accessing Shared Data and Simplifying Asynchronous Code

Everyone
  • 9 videos | 48m 51s
  • Earns a Badge
Rating 3.0 of 3 users Rating 3.0 of 3 users (3)
In asynchronous programming, it's helpful to understand how to access shared data and simplify your code. In this course, you'll discover the various ways that parallelism can be added to an application by accessing shared data from multiple threads and simplifying asynchronous code with async and await. You'll begin by exploring multithreaded access to data, how to make an entire class thread-safe, and the Monitor.Enter and Monitor.Exit methods. Then you'll learn how to work with exceptions and timeouts when working with threads, how to improve performance, and how the Mutex class can be used to grab multiple locks at the same time. Finally, you'll discover how async and await support asynchronous programming and how they can be used to implement asynchrony in applications. This course was originally created by Global Knowledge (GK).

WHAT YOU WILL LEARN

  • Describe multithreaded access to data
    Discuss how to make an entire class thread-safe
    Describe the monitor.enter and monitor.exit methods and how to define code that should be limited to one thread at a time
    Discuss how to work with exceptions and timeouts when working with threads
    Describe how to improve performance by using readerwriterlockslim
  • Discuss how the mutex class can be used to grab multiple locks at the same time
    Describe how the c# features async and await support asynchronous programming
    Discuss how async and await can be used to implement asynchrony in an application
    Describe async and await as alternatives to using task.continuewith

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.