Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: