]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: use epoll(7) instead of poll(2)
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 14 Oct 2018 14:36:28 +0000 (23:36 +0900)
committerJaroslav Kysela <perex@perex.cz>
Sun, 14 Oct 2018 14:57:15 +0000 (16:57 +0200)
commit5c859fa6494fb804408b7ec1f2b0ea611631dbe0
treef8aa9cb3603212a110e0dc5abfc94a655474808f
parentfbc31a7593cc650030b149211be5623f6f237fe9
alsactl: use epoll(7) instead of poll(2)

Linux kernel supports unique system call; epoll(7). This allows
applications to make associations for descriptor-unique data in a
easy way.

This commit uses epoll(7) instead of poll(2) for this point.

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