diff options
| author | kenjiro <> | 2026-05-05 03:32:46 +0000 |
|---|---|---|
| committer | kenjiro <> | 2026-05-05 03:32:46 +0000 |
| commit | 9b4954e7ae164f68ca4568a0a7db9f8f686bd0f4 (patch) | |
| tree | 31e224479247ba079ef59daaa6f93444fdc4baa2 /src/lib/libc/stdlib/system.3 | |
| parent | 03aa4e2eead24982e97b0b163d537e073f748718 (diff) | |
| download | openbsd-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/system.3')
0 files changed, 0 insertions, 0 deletions
