Comment

Comment by hunterpayne

> x += 1 is not thread-safe

Nit, that's true iff x is a primitive without the volatile modifier. That's not true for a volatile primitive.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton