]> git.ipfire.org Git - thirdparty/tor.git/commit
Support monotonic time for pthread_cond_timedwait
authorDavid Goulet <dgoulet@ev0ke.net>
Wed, 21 Jan 2015 18:18:56 +0000 (13:18 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Wed, 21 Jan 2015 19:29:12 +0000 (14:29 -0500)
commitd684dbb0c76c4de0b21fabee99fc08833249bd87
tree62f86dc48ab8f3df15273384906538f981e8bf6e
parent3c8dabf69aa950c2df49f48aebbe02aac5b519f3
Support monotonic time for pthread_cond_timedwait

This is to avoid that the pthread_cond_timedwait() is not affected by time
adjustment which could make the waiting period very long or very short which
is not what we want in any cases.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
src/common/compat_pthreads.c