You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by ipavlu <ma...@ffastfill.com> on 2016/04/01 14:07:20 UTC

Qpid Thread Safety?

Hi, I would like to ask whether AMQP QPID classes in C++ are thread and if to
what extent?
For example, C++/CLI wrapper for .Net is locking every access to Session,
Receiver etc.
Is it just conservative design or necessity?

I have not found much about QPID thread safety in docs.
I am most interested about C++ clases Session, Receiver, Sender and theis
thread safety abilities.

Thanks very much.

With best regards,
                           ipavlu 



--
View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-Thread-Safety-tp7641178.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: Qpid Thread Safety?

Posted by ipavlu <ma...@ffastfill.com>.
Thanks for the answer, it is what I meant:).

With best regards, 
                           ipavlu 



--
View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-Thread-Safety-tp7641178p7641279.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: Qpid Thread Safety?

Posted by Chuck Rolke <cr...@redhat.com>.
If you are referring to the use of the C++ classes in the context of one of the client libraries then yes the classes are thread safe. All the necessary locking is done by the library and none is required in the client code.

The locking in the .NET binding is a separate issue not directly related to locking in the underlying C++ libraries. See https://issues.apache.org/jira/browse/QPID-3193 for details.

----- Original Message -----
> From: "ipavlu" <ma...@ffastfill.com>
> To: dev@qpid.apache.org
> Sent: Friday, April 1, 2016 8:07:20 AM
> Subject: Qpid Thread Safety?
> 
> Hi, I would like to ask whether AMQP QPID classes in C++ are thread and if to
> what extent?
> For example, C++/CLI wrapper for .Net is locking every access to Session,
> Receiver etc.
> Is it just conservative design or necessity?
> 
> I have not found much about QPID thread safety in docs.
> I am most interested about C++ clases Session, Receiver, Sender and theis
> thread safety abilities.
> 
> Thanks very much.
> 
> With best regards,
>                            ipavlu
> 
> 
> 
> --
> View this message in context:
> http://qpid.2158936.n2.nabble.com/Qpid-Thread-Safety-tp7641178.html
> Sent from the Apache Qpid developers mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org