summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/qsort.c
diff options
context:
space:
mode:
authorkenjiro <>2026-05-05 03:32:46 +0000
committerkenjiro <>2026-05-05 03:32:46 +0000
commit9b4954e7ae164f68ca4568a0a7db9f8f686bd0f4 (patch)
tree31e224479247ba079ef59daaa6f93444fdc4baa2 /src/lib/libc/stdlib/qsort.c
parent03aa4e2eead24982e97b0b163d537e073f748718 (diff)
downloadopenbsd-9b4954e7ae164f68ca4568a0a7db9f8f686bd0f4.tar.gz
openbsd-9b4954e7ae164f68ca4568a0a7db9f8f686bd0f4.tar.bz2
openbsd-9b4954e7ae164f68ca4568a0a7db9f8f686bd0f4.zip
openssl: centralize speed benchmark timer handling
The speed benchmark currently arms alarm() from print_message() and pkey_print_message(), making the output helpers also control benchmark lifetime. This hidden coupling makes the code harder to maintain and led to missing alarm cleanup on Windows, as reported in #1245. Move alarm setup and run-state initialization into speed-specific timer helpers so benchmark timing is controlled explicitly at the start and stop points. ok tb joshua
Diffstat (limited to 'src/lib/libc/stdlib/qsort.c')
0 files changed, 0 insertions, 0 deletions