diff options
| author | sakumisu <[email protected]> | 2025-06-03 17:31:31 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-06-03 22:43:35 +0800 |
| commit | bff8a632a926cf976c3bbb18097f8a70d7cd9b93 (patch) | |
| tree | d2219f3e1674f78b8cc69bae6aa18df06cac8be5 /common | |
| parent | a8bf2687bde6ff5eb8e5b501226cb21945a7f8df (diff) | |
feat(class): add usb_osal_thread_schedule_other to allow the applications which use the struct usbh_xxx to exit properly before free struct usbh_xxx
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/usb_osal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usb_osal.h b/common/usb_osal.h index 324d3ae3..1975f208 100644 --- a/common/usb_osal.h +++ b/common/usb_osal.h @@ -42,6 +42,7 @@ struct usb_osal_timer { */ usb_osal_thread_t usb_osal_thread_create(const char *name, uint32_t stack_size, uint32_t prio, usb_thread_entry_t entry, void *args); void usb_osal_thread_delete(usb_osal_thread_t thread); +void usb_osal_thread_schedule_other(void); usb_osal_sem_t usb_osal_sem_create(uint32_t initial_count); void usb_osal_sem_delete(usb_osal_sem_t sem); |
