Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lukesandberg
on June 14, 2015
|
parent
|
context
|
favorite
| on:
Use lock addresses to enforce uniform locking orde...
Which is why the maxim "don't hold locks while calling untrusted code" exists. Holding a lock while invoking a callback is extremely dangerous. Some situations demnd doing this (but not that often), in which case you need to document it like crazy.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: