krakjoe/pthreads — pull request #316 by 2072 (2014-06-09 14:46:59+00:00)
Title: Fix overflow of time.tv_usec in pthreads_synchro_wait_ex() (fix issue #3...

...14)

timeval.tv_usec cannot hold values larger than 1000000 thus depending on when pthreads_synchro_wait_ex() is called and the requested timeout the number of microseconds to wait may get larger than 1000000 resulting in an invalid timeout.