diff options
author | 2019-05-22 18:45:07 +0000 | |
---|---|---|
committer | 2019-05-22 18:45:07 +0000 | |
commit | b3baa55526ff4445e1a11dd6b15659967ec97f3a (patch) | |
tree | 04d6b4c489aebd12671dd8d0bd206cf0f337ac2d /lib/libc/stdlib/malloc.c | |
parent | re-order to reported states based on order of significance: (diff) | |
download | wireguard-openbsd-b3baa55526ff4445e1a11dd6b15659967ec97f3a.tar.xz wireguard-openbsd-b3baa55526ff4445e1a11dd6b15659967ec97f3a.zip |
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 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions