When Distributed workers use shared_queue in distributed tensorflow, Is the shared_queue works to mutex exclusively?
TensorFlow queue objects, such as tf.FIFOQueue
, are thread-safe. This applies both to multiple users in a single process, and multiple jobs sharing the queue via shared_name
in a distributed setting.