|
|
|
|
|
by jasonwatkinspdx
3554 days ago
|
|
Yes. Portable primitives are provided in the sync.atomic package. They've been careful about the details (eg, inserting fences on architectures like arm). Most applications shouldn't touch this stuff but it's there if you want to try to write a lock free data structure or algorithm. |
|