In this lesson, you’ll finish creating your message queue and analyze the output of the program. If you download the sample code, you can get your own copy of 13-queue.py
:
To learn more, you can also check out the documentation for threading.Event
, the queue
module, and super
.
Pradeep Kumar on Aug. 29, 2020
It was a great tutorial, I am just curious to know, why it is giving +2 results, for example: maxsize = 10 , it is producing 12 outcomes and for maxsize = 20 , it is producing 22 outcomes. I am not sure why it is like that?