Posix: fix event_wait_timed() (#346)
event_wait_timed() was ignoring a timeout of 1000 ms. Presumably this is because pthread_cond_timedwait() only considers tv_nsec less than one second. Convert the timeout in miliseconds to second and nanosecond components to fix this. Co-authored-by: alfred gedeon <28123637+alfred2g@users.noreply.github.com>pull/350/head^2
parent
bad8f01afd
commit
6a84f2c1da
Loading…
Reference in New Issue