HomeFreeBSD

Fix time handling in cv_timedwait_hires().

Description

Fix time handling in cv_timedwait_hires().

pthread_cond_timedwait() receives absolute time, not relative. Passing
wrong time there caused two threads of zdb to spin in a tight loop.

MFC after: 1 week

Details

Provenance
mavAuthored on
Parents
rS318515: The current qsort(3) implementation ignores the sizes of partitions, and
Branches
Unknown
Tags
Unknown