diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-05-22 18:45:08 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-05-22 18:45:08 +0000 |
commit | 0218d2364b8dbd7d1fac92150c117dd08e20c7b6 (patch) | |
tree | a78715aadc208c881372580e4f5e4d7a93d28efa /usr.bin | |
parent | 2e0cdd7e7341d4f12421c98ffb59a5d02d4dd48d (diff) |
Read and assign the integer value only once. With this sysctl_int() will
do word loads and stores and so partial updates should no longer be observed.
With this accessing global variables set by sysctl_int() should be mostly MP
save.
OK dlg@ mpi@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions