Multithreading and Concurrency in Java: Concurrency & the Producer-Consumer Problem
Java
| Intermediate
- 9 videos | 50m 54s
- Includes Assessment
- Earns a Badge
The Producer-Consumer problem is a common issue to address when we have concurrent producer and consumer threads working with a bounded buffer. Solving this problem covers a variety of synchronization mechanisms in Java, and this course covers the implementation of synchronization blocks, locks, Condition objects, and Java's built-in data structures.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseDefine a producer task that can run concurrently with a consumer using a shared queueDevelop a consumer task that works with a concurrent producer through a shared bufferRecognize the behavior of producer and consumer threads when working with a shared bounded bufferUse a reentrantlock to access the shared queue for the producer-consumer problem
-
Recognize the role of conditions in enabling different threads to wait on different conditions on the same objectVerify the validity of a solution to the producer-consumer problem with multiple producer and consumer threadsImplement a solution to the producer-consumer problem using java's built-in arrayblockingqueueSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 19s
-
7m 58sIn this video, learn how to define a producer task that can run concurrently with a consumer using a shared queue. FREE ACCESS
-
5m 34sIn this video, you will develop a consumer task that works with a concurrent producer by sharing a buffer. FREE ACCESS
-
6m 12sUpon completion of this video, you will be able to recognize the behavior of producer and consumer threads when working with a shared bounded buffer. FREE ACCESS
-
8m 11sIn this video, learn how to use a ReentrantLock to access the shared queue for the Producer-Consumer problem. FREE ACCESS
-
8m 12sAfter completing this video, you will be able to recognize the role of conditions in enabling different threads to wait on different conditions on the same object. FREE ACCESS
-
4m 8sIn this video, you will learn how to verify the validity of a solution to the Producer-Consumer problem with multiple producer and consumer threads. FREE ACCESS
-
6m 48sIn this video, learn how to implement a solution to the Producer-Consumer problem using Java's built-in ArrayBlockingQueue. FREE ACCESS
-
1m 32s
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.YOU MIGHT ALSO LIKE

Book
Grokking Concurrency