Dec 24, 2019
05:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 24, 2019
05:08 PM
Hello Cypress IoT team
[Background]
We evaluate CYW20819 with MoodusToolBox. We referred to below and understood APIs are not thread-safe.
https://community.cypress.com/message/8196#8196
We also think that "wiced_bt_spp_send_session_data" API should not be called from a thread. Because the API is difficult to exclusion control since "GKI_getpoolbuf" in the API may be called out of user control.
[Question]
Are there any other such APIs that should NOT be called from a thread?
Thanks,
Yoshinori Takano
Solved! Go to Solution.
1 Solution
Jan 17, 2020
03:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2020
03:05 AM
Hi Yoshinori Takano,
APIs can be called from any thread, but they are not thread safe.
Thanks,
-Dheeraj
3 Replies