title: Adding objects to queue without interruption
body: <p>I would like to put two objects into a queue, but I've got to be sure the objects are in both queues at the same time, therefore it should not be interrupted in between - something like an atomic block. Does some one have a solution? Many thanks...</p>
  
  <pre><code>queue_01.put(car)
  queue_02.put(bike)
  </code></pre>