~/talk

Synchronization primitives can be faster with SegmentQueueSynchronizer

Talkat Hydra 2020 · 2020-07-06..07-09· [concurrency]
links:none on file
slides:none on file

Presents a new synchronization abstraction called SegmentQueueSynchronizer implemented for Kotlin coroutines that starts from a novel semaphore/mutex algorithm with segment‑based wait queues, elimination (resume before suspend), synchronous/asynchronous modes, and cancellation-aware futures. Shows how cancelled cells trigger segment removal to prevent memory leaks, explains counter balancing tricks to avoid double‑counting, and reports a complete implementation plus formal correctness proofs in Iris/Coq. Claims faster, fair primitives; implementation and proofs take months and experiments are underway toward a paper.

AI-written summary · about

  1. 0:00Start
  2. 2:42and Semaphores
  3. 9:06forward Semaphore Implementation
  4. 14:58Array Implementation
  5. 22:54ryAcquire correct?
  6. 48:08ore with Cancellation
~/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.