am 49ae445d: use pthread_cond_timedwait() in poll thread

* commit '49ae445df736b6c3cc03d29e8ff26bf0384d16cc':
  use pthread_cond_timedwait() in poll thread