jiejieTop / mqttclient

A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
Apache License 2.0
696 stars 255 forks source link

platform_thread_init #108

Open Kakar0t opened 2 weeks ago

Kakar0t commented 2 weeks ago

platform_thread_init中的mutex和cond在线程创建之前更合理吧

wch3535 commented 1 week ago

初始化时,赋值c->mqtt_thread = platform_thread_init(); mqtt_yield_thread线程中有使用c->mqtt_thread,在多线程主机上也有概率会crash