logoalt Hacker News

dokyun • today at 6:01 AM • 1 reply • view on HN

Funny this is getting downvoted cause it's literally what Plan 9 C does.

https://man.cat-v.org/plan_9/2/atom


Replies

aw1621107 • today at 7:11 AM

I don't think that man page on its own is sufficient to draw that particular conclusion. You need compiler/language support to ensure atomics are handled properly, so you'd need to know how Plan 9's compiler/language specifies atomics.