~/talk

Zephyr Workqueues: How They Work and Queue

Talkat Open Source Summit Europe 2025 · on Monday, 2025-08-25· at 11:20· G106 (Level 1)· [embedded-and-hardware]
links:none on file
slides:none on file

Demo code shows a timer-plus-sleep change that triggers an ISR-context crash, proving ISRs must not block and motivating offload to workqueues. Zephyr’s sys_workq is cooperative and shared so one slow handler delays all queued items; work items are serialized and k_work_submit is idempotent per item so submitting twice only queues once. The implementation tour inspects k_work_submit, delayable work for debouncing, and k_work_cancel race cases, and recommends zbus or RTIO for higher performance needs.

AI-written summary · about

  1. 0:00Zephyr workqueues intro
  2. 2:55Timer deadlines and ISR demo
  3. 7:51Offload work from interrupts
  4. 13:06System workqueue design
  5. 16:58Zephyr workqueue internals
  6. 21:20Workqueue challenges and fixes
  7. 25:18Workqueue use cases
  8. 27:36Q&A on latency
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.