TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Use lock addresses to enforce uniform locking order. Avoid deadlock

31 pointsby cvs268almost 10 years ago

5 comments

ajarmstalmost 10 years ago
Lamport&#x27;s Bakery Algorithm from the 1970&#x27;s seems relevant, as is his frustration that people seem to keep rediscovering a solution to an already solved problem: <a href="http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;lamport&#x2F;pubs&#x2F;lamport-mutual-solved.pdf" rel="nofollow">http:&#x2F;&#x2F;research.microsoft.com&#x2F;en-us&#x2F;um&#x2F;people&#x2F;lamport&#x2F;pubs&#x2F;l...</a>
评论 #9715901 未加载
csdude1almost 10 years ago
This is an old idea. Not sure why people are trying to give credit here where none is due.
评论 #9715910 未加载
Animatsalmost 10 years ago
This goes way, way back, all the way to early IBM JCL forcing the acquisition of file locks in alphabetical order when starting a batch job.
dwarmanalmost 10 years ago
Interesting. Attempting to load this page deadlocks Safari on iOS 7.1.2 on my iPad Air.
jrermalmost 10 years ago
Any explanation?
评论 #9714794 未加载
评论 #9714682 未加载