How is thread-safety achieved by those? (safe publication etc)