~/talk

Lock and Semaphore

TalkinFrenchat AFUP Day Lille 2021 · on Friday, 2021-05-28· [concurrency]
slides:none on file

Explains the difference between locks and semaphores for synchronizing concurrent code, covering when to use each primitive and how they function. Discusses implementation and practical usage patterns in concurrent programming (e.g., mutual exclusion with locks versus counting access with semaphores).

AI-written summary · about

  1. 0:00Locks and semaphores
  2. 1:34Race conditions
  3. 5:01Types of locks
  4. 6:26Symfony Lock component
  5. 9:57Lock expiration and refresh
  6. 12:05Shared and exclusive locks
  7. 13:29Lock component architecture
  8. 17:04Lock stores and distribution
  9. 18:11Semaphores vs locks
  10. 21:03Pitfalls with locks
  11. 22:30Use cases for locks
  12. 23:33Semaphore component
  13. 24:35Semaphore examples
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.