summaryrefslogtreecommitdiffhomepage
path: root/pkg/usermem/bytes_io_unsafe.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-12-04 19:05:08 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-04 19:07:17 -0800
commit8a45c8161601e62faa0d448ff6d5bc0604ea406f (patch)
tree3a01eb7c72e9a18284ea017211b703628e6584bc /pkg/usermem/bytes_io_unsafe.go
parent7a1de8583d7c16fb5436cd1bfcf6e9c9fb62a820 (diff)
Allow use of SeqAtomic with pointer-containing types.
Per runtime.memmove, pointers are always copied atomically, as this is required by the GC. (Also, the init() safety check doesn't work because it gets renamed to <prefix>init() by template instantiation.) PiperOrigin-RevId: 345800302
Diffstat (limited to 'pkg/usermem/bytes_io_unsafe.go')
0 files changed, 0 insertions, 0 deletions