mainloop: add threaded mainloop

Add a mainloop wrapper that runs the mainloop in a separate thread and
has some synchronization primitives.
Use new mainloop in gstreamer source and sink elements
This commit is contained in:
Wim Taymans 2015-07-08 12:11:55 +02:00
parent a3505fb880
commit cbeee04809
9 changed files with 710 additions and 195 deletions

View file

@ -165,6 +165,7 @@ libpinos_@PINOS_MAJORMINOR@_la_SOURCES = \
client/context.h client/context.c \
client/enumtypes.h client/enumtypes.c \
client/introspect.h client/introspect.c \
client/mainloop.h client/mainloop.c \
client/stream.h client/stream.c \
client/pinos.c client/pinos.h \
client/subscribe.c client/subscribe.h \