in reply to Re^9: Proper undefine queue with multithreads
in thread Proper undefine queue with multithreads

You missed the point. It shouldn't terminate in step 7!

When I said it dequeued the last item, I meant the last item of the queue. There could be millions more items to process, but they're not going to be processed. Updated the linked post for clarification.

  • Comment on Re^10: Proper undefine queue with multithreads