about summary refs log tree commit diff
path: root/include/netinet/tcp.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-19 15:51:12 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-19 15:51:12 -0400
commitbcad48439494820989f5867c3f8ccfa6aae2909f (patch)
tree96b9f234bd245c189e8a7a1cef9545efb8fe6b58 /include/netinet/tcp.h
parenta294f539c78c6ba0a2786ef3c5b2a1210a33864e (diff)
downloadmusl-bcad48439494820989f5867c3f8ccfa6aae2909f.tar.gz
musl-bcad48439494820989f5867c3f8ccfa6aae2909f.tar.xz
musl-bcad48439494820989f5867c3f8ccfa6aae2909f.zip
fix missing barrier instructions in mips atomic asm
previously I had wrongly assumed the ll/sc instructions also provided
memory synchronization; apparently they do not. this commit adds sync
instructions before and after each atomic operation and changes the
atomic store to simply use sync before and after a plain store, rather
than a useless compare-and-swap.
Diffstat (limited to 'include/netinet/tcp.h')
0 files changed, 0 insertions, 0 deletions