qemu-e2k/io
Peter Xu a17536c594 qio: non-default context for threaded qtask
qio_task_run_in_thread() allows main thread to run blocking operations
in the background. However it has an assumption on that it's always
working with the default context. This patch tries to allow the threaded
QIO task framework to run with non-default gcontext.

Currently no functional change so far, so the QIOTasks are still always
running on main context.

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-03-06 10:19:05 +00:00
..
channel-buffer.c io: avoid double-free when closing QIOChannelBuffer 2016-05-26 11:31:09 +05:30
channel-command.c io/channel-command: Do not kill the child process after closing the pipe 2018-02-15 16:54:57 +00:00
channel-file.c io: Add /dev/fdset/ support to QIOChannelFile 2018-02-15 16:54:57 +00:00
channel-socket.c qio: non-default context for threaded qtask 2018-03-06 10:19:05 +00:00
channel-tls.c io: add methods to set I/O handlers on AioContext 2017-02-21 11:14:07 +00:00
channel-util.c all: Clean up includes 2016-02-23 12:43:05 +00:00
channel-watch.c io: add methods to set I/O handlers on AioContext 2017-02-21 11:14:07 +00:00
channel-websock.c io/channel-websock: handle continuous reads without any data 2018-02-15 16:54:57 +00:00
channel.c qio: introduce qio_channel_add_watch_{full|source} 2018-03-06 10:19:04 +00:00
dns-resolver.c qio: non-default context for threaded qtask 2018-03-06 10:19:05 +00:00
Makefile.objs io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
net-listener.c qio: store gsources for net listeners 2018-03-06 10:19:05 +00:00
task.c qio: non-default context for threaded qtask 2018-03-06 10:19:05 +00:00
trace-events io: add trace points for websocket HTTP protocol headers 2017-10-16 16:57:08 +01:00