~/talk

Inter Process Confusion - Navigating Zephyr's IPC APIs

name:Andy Ross
links:none on file
slides:none on file

Zephyr offers many overlapping IPC primitives and that abundance causes poor choices; semaphores are the low‑cost default for locking and short waits, km semaphores act like lightweight tokens, mutexes add priority inheritance at extra cost, and condition variables solve atomic release+wait for complex races. Queues, message q and pipes, cover fixed messages or byte streams; k_event is lighter than k_poll for multiplexing. User space adds syscall and caching overhead; futex-like fast paths exist but are tricky.

AI-written summary · about

  1. 0:00Introduction to IPC
  2. 3:34The problem of polling
  3. 7:19Out of scope concepts
  4. 11:21Kernel foundations
  5. 16:27Semaphores and mutexes
  6. 21:46Queuing mechanisms
  7. 29:45Avoiding race conditions
  8. 33:50Multiplexing inputs
  9. 36:21User space and summary
~/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.