Hacker News new | past | comments | ask | show | jobs | submit login

You sometimes do not need a lock, depending. Scoped threads can have two different threads modify two different elements of a vector simultaneously without locks, for example.



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

Search: