[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 1/6] qio: rename qio_task_thread_result
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v3 1/6] qio: rename qio_task_thread_result |
Date: |
Mon, 5 Mar 2018 14:43:19 +0800 |
It is strange that it was called gio_task_thread_result. Rename it to
follow the naming rule of the file.
Reviewed-by: Daniel P. Berrange <address@hidden>
Signed-off-by: Peter Xu <address@hidden>
---
io/task.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/io/task.c b/io/task.c
index 3ce556017c..1a0a1c7185 100644
--- a/io/task.c
+++ b/io/task.c
@@ -80,7 +80,7 @@ struct QIOTaskThreadData {
};
-static gboolean gio_task_thread_result(gpointer opaque)
+static gboolean qio_task_thread_result(gpointer opaque)
{
struct QIOTaskThreadData *data = opaque;
@@ -110,7 +110,7 @@ static gpointer qio_task_thread_worker(gpointer opaque)
* the worker results
*/
trace_qio_task_thread_exit(data->task);
- g_idle_add(gio_task_thread_result, data);
+ g_idle_add(qio_task_thread_result, data);
return NULL;
}
--
2.14.3
- [Qemu-devel] [PATCH v3 0/6] qio: general non-default GMainContext support, Peter Xu, 2018/03/05
- [Qemu-devel] [PATCH v3 2/6] qio: introduce qio_channel_add_watch_{full|source}, Peter Xu, 2018/03/05
- [Qemu-devel] [PATCH v3 1/6] qio: rename qio_task_thread_result,
Peter Xu <=
- [Qemu-devel] [PATCH v3 3/6] qio: store gsources for net listeners, Peter Xu, 2018/03/05
- [Qemu-devel] [PATCH v3 4/6] qio: non-default context for threaded qtask, Peter Xu, 2018/03/05
- [Qemu-devel] [PATCH v3 5/6] qio: non-default context for async conn, Peter Xu, 2018/03/05
- [Qemu-devel] [PATCH v3 6/6] qio: non-default context for TLS handshake, Peter Xu, 2018/03/05
- Re: [Qemu-devel] [PATCH v3 0/6] qio: general non-default GMainContext support, Daniel P . Berrangé, 2018/03/06