Up to [cvs.NetBSD.org] / src / tests / lib / libc / membar
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.2 / (download) - annotate - [selected], Sun Apr 10 11:36:32 2022 UTC (23 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Changes since 1.1: +6 -14
lines
Diff to previous 1.1 (colored)
membar_ops(3): Simplify alarm handling in membar tests.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 8 23:35:52 2022 UTC (23 months, 2 weeks ago) by riastradh
Branch: MAIN
Diff to selected 1.2 (colored)
membar_ops(3): Add some automatic tests. 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.