summaryrefslogtreecommitdiff
path: root/tests/lib/libc/membar/Makefile
AgeCommit message (Collapse)Author
2022-04-08membar_ops(3): Add some automatic tests.riastradh
These tests run two threads for five seconds each to try to trigger races in the event of broken memory barriers. They run only on machines with at least two CPUs; on uniprocessor systems there's no point -- the membars can correctly just be (instruction barrier) no-ops.