[Spice-commits] server/red_worker.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Mon Oct 26 02:18:38 PDT 2015


 server/red_worker.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit f55032ecba46b5f58bfbaee42ab9eb61c0c9e20d
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Wed Sep 4 01:00:19 2013 +0200

    server: group worker channel related stuff
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/server/red_worker.c b/server/red_worker.c
index 6584ec3..ce2f9e2 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -603,8 +603,6 @@ typedef struct ItemTrace {
 typedef struct RedWorker {
     pthread_t thread;
     clockid_t clockid;
-    DisplayChannel *display_channel;
-    CursorChannel *cursor_channel;
     QXLInstance *qxl;
     RedDispatcher *red_dispatcher;
 
@@ -613,8 +611,13 @@ typedef struct RedWorker {
     struct pollfd poll_fds[MAX_EVENT_SOURCES];
     struct SpiceWatch watches[MAX_EVENT_SOURCES];
     unsigned int event_timeout;
+
+    DisplayChannel *display_channel;
     uint32_t repoll_cmd_ring;
+
+    CursorChannel *cursor_channel;
     uint32_t repoll_cursor_ring;
+
     uint32_t num_renderers;
     uint32_t renderers[RED_RENDERER_LAST];
     uint32_t renderer;


More information about the Spice-commits mailing list