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

The overhead of locking itself (which nobody has even mentioned) is completely distinct from the impact of waiting on locks. It's totally irrelevant that you can have millions of lock operations per second if you actually have any shared state to protect. If you are actually USING locks then you have threads waiting on them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: