mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-10 01:18:10 +00:00
[spice] reworked to avoid locking requirements on the input channel
POSIX `send` is thread safe, to take advantage of this the code has been changed to construct a contiguous buffer and perform the send in a single operation preventing any risk of a race condition. Only the main channel still requires an interlock as the VD agent requires multiple sends to transmit a full buffer.
This commit is contained in: