stcai opened a new pull request #59: Fix infinite loop on tcptransport connect URL: https://github.com/apache/rocketmq-client-cpp/pull/59 The run order of these two step below uncertain: 1. assignment of 'm_ReadDatathread'; 2. thread begin run 'TcpTransport::runThread'; If the thread runs first, the value of m_ReadDatathread will be NULL, the codes in 'while (m_ReadDatathread) {}' will never be executed, 'm_event_base_status' will never store 'true', so TcpTransport::connect will stay on the loop infintely.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
