Closed lushengguo closed 5 months ago
This error typically occurs when the AMQP connections is accesses from multiple threads. My guess is that this is the case here too.
However, since your code is incomplete I cannot check this. For now I'll close this issue because it is not reproducable.
RabbitMQ 3.10.5 Erlang 25.0.3 Amqp-cpp/4.3.26
windows platform, I implmented interface of AMQP::ConnectionHandler with boost::asio;
After creat AMQP::Connection and wait for onReady called(using mutex and conditonal_variable), multi-thread program could see AMQP::Connection, then I post every function call or struct construction of AMQP library to boost::asio::io_context thread like code below; IO post to io_context either;
But still get error like title list, I would appriciated it if I could get some advice from here.