My consumer side of the queue:
m = queue.get()
queue.task_done()
<rest of the program>
Questions:
Does
task_done()effectively popsmoff the queue and release whatever locks the consumer has on the queue?I need to use
mduring the rest of the program. Is it safe, or do I need to copy it before I calltask_done()or ismusable aftertask_done()?
be happy