events: Add timeout to event_loop

Allow a cleaner terminate by polling the done-variable every 100ms
instead of only when an event comes in.

Signed-off-by: folkert van heusden <mail@vanheusden.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2 files changed
tree: 649347e63bb29c1fe7c86773b68d64c53b81ca59
  1. include/
  2. lib/
  3. scripts/
  4. src/
  5. .gitignore
  6. Makefile
  7. meson.build
  8. README.md
README.md

uvcgadget - UVC gadget C library

uvcgadget is a pure C library that implements handling of UVC gadget functions.

Utilities

  • uvc-gadget - Sample test application

Build instructions:

To compile:

$ meson build
$ ninja -C build

Cross compiling instructions:

Cross compilation can be managed by meson. Please read the directions at https://mesonbuild.com/Cross-compilation.html for detailed guidance on using meson.

In brief summary:

$ meson build --cross <meson cross file>
$ ninja -C build