RT-Thread-packages / at_device

AT component porting or samples for different devices
Apache License 2.0
215 stars 182 forks source link

should at_response_t resp need mutex ? #204

Open Layty opened 8 months ago

Layty commented 8 months ago
  1. at_response_t at_create_resp

  2. at_obj_exec_cmd will at_delete_resp after the timeout

  3. then client_parser timeout to receiving a response client->resp != RT_NULL 超时前处理 ,后续代码at_obj_exec_cmd 超时释放后处理,是否存在释放的指针赋值操作

  4. so , set response need a mutex in client ?