diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2022-05-04 21:24:34 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2022-05-04 21:24:34 +0000 |
commit | 105da021a7c4327f33752f83ca94b50eb7b1c461 (patch) | |
tree | 6a6e2f8eb8cfb35d9f6b0faee04b0bbcde71d313 /usr.sbin/vmctl/main.c | |
parent | 1765661ae0c7a311750de0cdae3e78f7b8e5b348 (diff) |
Introduce mutex for ratecheck(9) and ppsratecheck(9). A global
mutex with spl high for all function calls is used for now. It
protects the lasttime and curpps parameter. This solution is MP
safe for the usual use case, allows progress, and can be optimized
later. Remove a useless #if 1 while there.
OK claudio@
Diffstat (limited to 'usr.sbin/vmctl/main.c')
0 files changed, 0 insertions, 0 deletions