pthread_cond_timedwait(3): accept negative absolute timeouts
authorcheloha <cheloha@openbsd.org>
Wed, 10 Jan 2024 04:28:43 +0000 (04:28 +0000)
committercheloha <cheloha@openbsd.org>
Wed, 10 Jan 2024 04:28:43 +0000 (04:28 +0000)
commitd556a964e02c8a0fe2c0c04dc5814c59e7989dc1
tree89950a2f9f7ad232ce9cf01e8922504e3e28d87f
parentcc847d2a3263780417a92f93f643d708768ba82e
pthread_cond_timedwait(3): accept negative absolute timeouts

Negative absolute timeouts are valid inputs.

With input from kettenis@.

Thread: https://marc.info/?l=openbsd-tech&m=170467558006767&w=2

ok guenther@
lib/libc/thread/rthread_cond.c
lib/libc/thread/rthread_sync.c