[rabbitmq-discuss] AMQP & Python Write-Up

Ben Hood 0x6e6562 at gmail.com
Wed Jan 14 19:29:37 GMT 2009


Jason,

On Wed, Jan 14, 2009 at 7:18 PM, Jason J. W. Williams
<jasonjwwilliams at gmail.com> wrote:
> I called py-amqplib non-threadsafe because the docs say not to share
> channels between threads. So I suppose it would be more accurate to
> say, the library is threadsafe if you do not share channel objects
> between threads.

IIRC Barry's first incarnation was threadless and hence threadsafe.

Subsequently the library is undergoing a facelift:
http://hg.barryp.org/py-amqplib-devel

If you to read some non-normative background on threads and channels:
http://hopper.squarespace.com/blog/2008/10/6/multithreading-amqp-clients.html

HTH,

Ben




More information about the rabbitmq-discuss mailing list