crosvm/msg_socket
Zach Reizner 8b3ee41b30 msg_socket: impl for Arc and Mutex
These types are simple wrappers, and so this change just adds trivial
passthroughs.

For data sent over a socket, the data is not Arc-ed or Mutex-ed on the
other end with the same ref count or lock. Sending over the data is more
like a deep copy, rather than a simple ref count increase.

TEST=cargo test -p msg_socket
BUG=None

Change-Id: I519096b0b3b6ab75e79c37addf0d60ce3da4a717
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2168586
Commit-Queue: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2020-05-05 15:46:45 +00:00
..
msg_on_socket_derive msg_socket: allow Enum with no variant filed types 2020-04-14 18:50:44 +00:00
src msg_socket: impl for Arc and Mutex 2020-05-05 15:46:45 +00:00
tests Extracts BalloonAdjust from VmRequest. 2019-04-25 00:59:51 -07:00
Cargo.toml msg_socket: impl for Arc and Mutex 2020-05-05 15:46:45 +00:00