Click here to Skip to main content
15,888,286 members
Articles / Programming Languages / Python3.6

Discovering Python step by step - Using Python Queues - 03 - Detecting Queue Completion Properly

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
20 Oct 2020CPOL13 min read 10.2K   80   12  
How to detect queue completion from other threads properly when using Python queues.
The main function and the processor threads using Python queues require use of Events to detect completion. I will show how here.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Unknown
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions