Accessing Shared Data and Simplifying Asynchronous Code
Everyone
- 9 videos | 48m 51s
- Earns a Badge
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 dataDiscuss how to make an entire class thread-safeDescribe the monitor.enter and monitor.exit methods and how to define code that should be limited to one thread at a timeDiscuss how to work with exceptions and timeouts when working with threadsDescribe how to improve performance by using readerwriterlockslim
-
Discuss how the mutex class can be used to grab multiple locks at the same timeDescribe how the c# features async and await support asynchronous programmingDiscuss how async and await can be used to implement asynchrony in an applicationDescribe async and await as alternatives to using task.continuewith
IN THIS COURSE
-
4m 42s
-
5m 31s
-
5m 1s
-
4m 3s
-
3m 29s
-
7m 47s
-
8m 1s
-
7m 39s
-
2m 39s
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.