• Robert Baldyga's avatar
    tools: usb: aio example applications · b34e08d5
    Robert Baldyga authored
    This patch adds two example applications showing usage of Asynchronous I/O API
    of FunctionFS. First one (aio_simple) is simple example of bidirectional data
    transfer. Second one (aio_multibuff) shows multi-buffer data transfer, which
    may to be used in high performance applications.
    
    Both examples contains userspace applications for device and for host.
    It needs libaio library on the device, and libusb library on host.
    Signed-off-by: default avatarRobert Baldyga <r.baldyga@samsung.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    b34e08d5
aio_simple.c 7.44 KB