Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should at_response_t resp need mutex ? #204

Open
Layty opened this issue Oct 25, 2023 · 0 comments
Open

should at_response_t resp need mutex ? #204

Layty opened this issue Oct 25, 2023 · 0 comments

Comments

@Layty
Copy link

Layty commented Oct 25, 2023

  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 ?

@Layty Layty changed the title 关于at_response_t resp 释放问题 should at_response_t resp need mutex ? Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant