gmr / rabbitpy

A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library
http://rabbitpy.readthedocs.org
BSD 3-Clause "New" or "Revised" License
242 stars 58 forks source link

Is rabbitpy thread-safe? #2

Closed cenkalti closed 10 years ago

cenkalti commented 11 years ago

I see that you are opening a seperate IO thread per connection and using a Queue for sending methods over the connection. Does this mean rabbitpy is thread-safe?

gmr commented 11 years ago

It should be, yes. It manages all of its own threaded resources and expects threads to be able to run properly.