[rabbitmq-discuss] rabbitmq-c thread-safe
Tony Garnock-Jones
tonyg at lshift.net
Thu Feb 18 04:26:32 GMT 2010
Tony Garnock-Jones wrote:
>> The second issue is that the library uses a global variable to track
>> the reply state on the a connection making it not thread safe. I've
>> patched the tip, it is attached.
>
> Would it work instead to put the amqp_rpc_reply variable in the
> amqp_connection_state_t?
I've just committed a patch that puts amqp_rpc_reply in the connection
state. Now the only way to access it is with amqp_get_rpc_reply().
Regards,
Tony
More information about the rabbitmq-discuss
mailing list