mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-26 16:46:28 +00:00

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.