Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kazinator
on Oct 4, 2018
|
parent
|
context
|
favorite
| on:
Go hits the concurrency nail on the head
Multiple locks are not always in the same scope. Method Foo::Update acquires a lock, then without releasing the lock calls into another class/object where Bar::Commit also acquires its own lock.
dreamcompiler
on Oct 4, 2018
[–]
Yep. That's certainly one of the tradeoffs.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: