diff options
author | 2020-08-11 15:41:50 +0000 | |
---|---|---|
committer | 2020-08-11 15:41:50 +0000 | |
commit | 74ea3cc86ee15933c6f981ce83e65f4b7b652f9e (patch) | |
tree | 0abb1c13f184a2973294a76447aada266cf84416 /lib/libssl/ssl_lib.c | |
parent | Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will do (diff) | |
download | wireguard-openbsd-74ea3cc86ee15933c6f981ce83e65f4b7b652f9e.tar.xz wireguard-openbsd-74ea3cc86ee15933c6f981ce83e65f4b7b652f9e.zip |
getitimer(2): don't enter itimer_mtx to read ITIMER_REAL itimerspec
The ITIMER_REAL per-process interval timer is protected by the kernel
lock. The ITIMER_REAL timeout (ps_realit_to), setitimer(2), and
getitimer(2) all run under the kernel lock. Entering itimer_mtx
during getitimer(2) when reading the ITIMER_REAL ps_timer state is
superfluous and misleading.
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions