May 2020
Intermediate to advanced
496 pages
13h 54m
English
Now that the simple behaviors of queues have been covered, we'll take a look at how they can be used to move data between tasks. A very common use case for queues is to have one task populate the queue while another is reading from the same queue. This is generally straightforward but may have some nuances, depending on how the system is set up:

In the preceding example, Task 1 and Task 2 are both interacting with the same Queue. Task 1 will send an item to the Queue. As long as Task 2 has a higher priority than Task 1, it will immediately receive the item.
Let's consider another instance that often occurs ...