]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: add an implementation of waiter for epoll(7)
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 13 Nov 2018 06:41:44 +0000 (15:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Nov 2018 11:04:51 +0000 (12:04 +0100)
commit3f652d3caa00e745c9a5da9d21f2a019b2a00d51
tree1092b99770446f235df22bfe8bd901c3224e1bd1
parentfce16d9279b6457435b30092c3c2f799ef1f77d4
axfer: add an implementation of waiter for epoll(7)

This commit adds support of waiter for Linux specific epoll(7) system call.
For portability to the other Unix-like systems such as xBSD, modification
of Makefile.am may be required for conditional build, but this commit
includes no changes for it.

Below lines are examples to use this option:
$ axfer transfer --waiter-type=epoll -M -P -d 2 -D hw:0,3 /dev/urandom -f dat -vvv
$ axfer transfer --waiter-type=epoll -M -C -d 2 -D hw:1,0 /dev/null -r 48000 -vvv

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/Makefile.am
axfer/waiter-epoll.c [new file with mode: 0644]
axfer/waiter.c
axfer/waiter.h