~/talk

Real time 101

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [rust]
links:none on file
links:none on file
slides:none on file

A practical flowchart maps real constraints to patterns: use an atomic for tiny state, a spinlock when big data can be missed, a null-pointer compare-and-swap loop (the compare_exchange trick) to swap resources without leaks, and double-buffering with ring buffer variants when the real-time thread produces values. The library on GitHub collects these patterns as early alpha; the general FIFO is 60% slower than Boost for the most general case. Tooling recommendations: thread sanitizer, s‑trace and LD_PRELOAD for syscall/allocation detection.

AI-written summary · about

  1. 0:00Intro
  2. 1:35How Hard is Hard?
  3. 3:04Real-time Threads
  4. 3:39Problems to Real-time
  5. 5:39Making Copies
  6. 5:56Hidden Copies
  7. 6:34Blocking vs. Non-wait-free vs. Wait Free
  8. 7:27In Summary
  9. 8:01The farbot Library
  10. 12:40atomic Summary
  11. 15:28Basic spin_lock
  12. 17:39The CAS Exchange Loop
  13. 20:54farbot's NonRealtimeMutatable
  14. 21:54Non-real-time Mutate Summary
  15. 22:50Non-real-time Mutating?
  16. 23:05Double Buffering
  17. 26:38farbot's RealtimeMutatable
  18. 27:55Sharing or Passing?
  19. 29:14Which FIFO is right for you?
  20. 33:57Farbot's AsyncCaller
  21. 34:54FIFO Summary
  22. 35:41Mutating on realtime and non-realtime
  23. 37:51Real-time & Non-real-time Summary
  24. 39:37How to Debug
~/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.