summaryrefslogtreecommitdiff
path: root/osal/usb_osal_zephyr.c
AgeCommit message (Collapse)Author
10 days[fix] osal: defer Zephyr thread memory releaseZhihong Chen
- The system workqueue may preempt a self-deleting thread after the release work is submitted. Waiting for the thread with k_thread_join() before freeing its TCB and stack prevents use-after-free corruption. - Also handle release work allocation failure before aborting the thread. Signed-off-by: Zhihong Chen <[email protected]>
2026-07-12update(osal): remove logsakumisu
Signed-off-by: sakumisu <[email protected]>
2026-02-11refactor: move cherryrb and cherrymp into common dir, rename with ↵sakumisu
usb_ringbuffer and usb_mempool Signed-off-by: sakumisu <[email protected]>
2025-06-03feat(class): add usb_osal_thread_schedule_other to allow the applications ↵sakumisu
which use the struct usbh_xxx to exit properly before free struct usbh_xxx Signed-off-by: sakumisu <[email protected]>
2025-05-19fix zephyr build warningZhihong Chen
Signed-off-by: Zhihong Chen <[email protected]>
2025-05-15chore: update zephyr codesakumisu
Signed-off-by: sakumisu <[email protected]>
2025-05-06update(osal): rename ticks to timeout_mssakumisu
Signed-off-by: sakumisu <[email protected]>
2025-05-06feat(osal/usb_osal_zephyr): add zephyr osalsakumisu
Signed-off-by: sakumisu <[email protected]>