This is a part of a much larger series so I don't have a good concise description. Ultimately this all leads to a reuse of RedChannel across most of the channels (sound remains an odd out because of not using a pipe abstraction, but a bitmap of outstanding packets, you can have 0 or one of each type waiting to be sent, this makes sense for audio. Probably for video too actually).
Anyway this patchset touches almost only red_worker (and it's helper cache files, split out because they are used for a number of different caches via macros before inclusion, that usual trick). It is mostly about renaming, making a CommonChannel take the place of the internal RedChannel to allow future use of the external RedChannel defined in red_channel.h Alon Levy (18): server/red_worker: change hold_item sig, drop the void* server/red_worker: use ack_data struct server/red_worker: introduce CommonChannel server/red_worker: add free cb to EventHandler server/red_worker: shorten some lines using alias variables server/red_worker: use red_channel pipe add versions server/red_worker: extract common_release_pipe_item from red_pipe_clear server/red_worker: split display_channel_send_item server/red_worker: add red_channel_init_send_data server/red_worker: use red_channel begin_send_message server/red_worker: small cleanup with worker alias server/red_worker: split cursor_channel_send_item server/red_worker: s/disconnect_channel_proc/channel_disconnect_proc/ server/red_worker: s/hold_pipe_item_proc/channel_hold_pipe_item/ server/red_worker: s/handle_message_proc/handle_parsed_proc/ server/red_worker: introduce an outgoing struct around out_bytes_counter server/red_worker: s/release_item_proc/channel_release_pipe_item_proc/ server/red_worker: match channel_release_pipe_item_proc to red_channel server/red_client_cache.h | 2 +- server/red_client_shared_cache.h | 20 +- server/red_worker.c | 1018 ++++++++++++++++++++------------------ 3 files changed, 553 insertions(+), 487 deletions(-) -- 1.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel