Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Doug Hellmann: queue — Thread-safe FIFO Implementation — PyMOTW 3

$
0
0
The queue module provides a first-in, first-out (FIFO) data structure suitable for multi-threaded programming. It can be used to pass messages or other data between producer and consumer threads safely. Locking is handled for the caller, so many threads can work with the same Queue instance safely and easily. The size of a Queue (the … Continue reading queue — Thread-safe FIFO Implementation — PyMOTW 3

Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>