Skip to content

Discussion of the feature/esp_as_mcu_host branch (EHM-23) #21

@Evlers

Description

@Evlers

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

哈喽,时隔一年不到,我又回来了。
目前我已经基于feature/esp_as_mcu_host branch分支移植了wrapper层并通过了esp_wifi_init的无感调用。
但我对rpc_core.c的set_sync_resp_sem函数有点疑问!
在737行处创建了一个信号量:
https://github.com/espressif/esp-hosted/blob/83efce638beb0d59b641399df862b20e3aa12f36/host/drivers/rpc/core/rpc_core.c#L737
但是在738行的位置马上就使用阻塞方式获取信号量导致线程的阻塞:
https://github.com/espressif/esp-hosted/blob/83efce638beb0d59b641399df862b20e3aa12f36/host/drivers/rpc/core/rpc_core.c#L738
请问这里是有什么特殊的意义吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions