~ruther/stm32h747i-disco-usb-image-viewer

ref: a42a0f99932c4a7afdd569cac97a46d0bbc15c07 stm32h747i-disco-usb-image-viewer/src/queue.c -rw-r--r-- 1.2 KiB
9db48e96 — Rutherther 6 months ago
feat: use task_result to indicate blocking

There should be no spin loops inside of the
interrupts, so this change removes them,
and instead uses a result system that has
WOULD_BLOCK result. When this result is returned,
it is expected there was no side-effect and the
function can safely be reran later.
Do not follow this link