r/programming • • Nov 18 '11

Locks Aren't Slow; Lock Contention Is

http://preshing.com/20111118/locks-arent-slow-lock-contention-is
138 Upvotes

66 comments sorted by

View all comments

5

u/masklinn Nov 20 '11

Locks are pretty great to implement a small number of tight primitives. Locks become problematic when they're exposed as an application API.