thread-mq: Support a mainloop as thread/consumer
authorAlexander Couzens <lynxis@fe80.eu>
Tue, 6 Aug 2013 03:29:45 +0000 (05:29 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 6 Aug 2013 15:26:26 +0000 (18:26 +0300)
commit9fa3466366fc591e3492ae62a6826bbb48b1e338
tree98f8abb21e1e6c7d62369bf4a036f0470a543c08
parent7682cab60e13f85dcc9c9398eba0a4d5845e6d8a
thread-mq: Support a mainloop as thread/consumer

This is needed by the tunnel module rewrite, which runs pa_mainloop in
the IO thread instead of pa_rtpoll.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
src/pulsecore/thread-mq.c
src/pulsecore/thread-mq.h