am a23ee2d9: am 49ae445d: use pthread_cond_timedwait() in poll thread

* commit 'a23ee2d9b792f326490c9dbb6c806eacc535e5aa':
  use pthread_cond_timedwait() in poll thread