~/talk

Extra! Extra! Thread all about it!

Talkat droidcon London 2019 · 2019-10-24..10-25· [android]
links:none on file
links:none on file
slides:none on file

Explains that Android threading is built on a simple message queue plus Looper and Handler, shows coroutines map to channels (unlimited, buffered, conflated channel, rendezvous) and uses systrace to reveal a priority inversion when a UI thread blocks on a Future. Implements priority inheritance for futures and locks so background workers are temporarily boosted, and adds a UI takeover/handoff so the main thread can finish partial work. Results: fewer long UI stalls but OEM core‑pinning and scheduler quirks still cause variability.

AI-written summary · about

  1. 0:00Introduction to threading
  2. 1:05Why use threads on Android
  3. 3:54Android threading primitives
  4. 6:18IntentService and AsyncTask
  5. 7:42Coroutines and channels
  6. 12:57Threading for performance
  7. 15:47Analyzing threads with systrace
  8. 17:13Priority inversion problem
  9. 18:40Priority inheritance solution
  10. 20:03OEM optimizations impact
  11. 22:51Work transfer between threads
  12. 26:18Key takeaways and conclusion
  13. 26:43Q&A session
~/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.