I notice that it is often suggested to use queues with multiple threads, instead of lists and .pop()
. Is this because lists are not thread-safe, or for some other reason?
I notice that it is often suggested to use queues with multiple threads, instead of lists and .pop()
. Is this because lists are not thread-safe, or for some other reason?