OSDN Git Service

axfer: return ETIMEDOUT when no event occurs after waiter expiration
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 29 Oct 2019 15:12:11 +0000 (00:12 +0900)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Oct 2019 12:13:22 +0000 (13:13 +0100)
commite5e6a7838b06f884bb36f217c7c439196579da17
tree83cbc45a541a8ae3be218f1e523c14ad480291f1
parent1c17128410c09f74ef41b71abe77215193c5cdaf
axfer: return ETIMEDOUT when no event occurs after waiter expiration

Although the waiter abstraction handles timeout as success, it should
report for callers to know timeout.

This commit takes the waiter to return -ETIMEDOUT when timeout expires.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
axfer/xfer-libasound.c