Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/lib/libc/membar



Module Name:    src
Committed By:   riastradh
Date:           Fri Aug 12 11:21:44 UTC 2022

Modified Files:
        src/tests/lib/libc/membar: t_spinlock.c

Log Message:
membar(3): Fix t_spinlock for machines with hash-locked atomics.

Regular stores don't participate in the hash-locking scheme, so use
atomic_swap instead of a regular store here.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/membar/t_spinlock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index