diff options
author | 2020-03-20 17:17:31 +0000 | |
---|---|---|
committer | 2020-03-20 17:17:31 +0000 | |
commit | e48149febb33412d827977632c0f6d47a456c928 (patch) | |
tree | 901dc65c264d427995ee3c7f057cdfca2f903db8 /sys/dev/fdt/imxccm.c | |
parent | __thrsleep(2): ensure timeout is set when calling tsleep_nsec(9) (diff) | |
download | wireguard-openbsd-e48149febb33412d827977632c0f6d47a456c928.tar.xz wireguard-openbsd-e48149febb33412d827977632c0f6d47a456c928.zip |
futex(2): futex_wait(): ensure timeout is set when calling rwsleep_nsec(9)
rwsleep_nsec(9) will not set a timeout if the nsecs parameter is
equal to INFSLP (UINT64_MAX). We need to limit the duration to
MAXTSLP (UINT64_MAX - 1) to ensure a timeout is set.
Diffstat (limited to 'sys/dev/fdt/imxccm.c')
0 files changed, 0 insertions, 0 deletions