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

it's thread safe on operations on the dict but not on the values. Same relates to other immutable structures like tuples. Lock will not help here cause unsafety comes from operation on value after value is obtained.


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

Search: