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

While somebody writing concurrent Java code should definitely know the atomic classes, locks, and possibly var handles if they are implementing their own algorithms, they absolutely should also know the semantics of volatile. It does not provide thread safety in C or Java, but it’s very important in choosing how to define your data structures.


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

Search: