diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-03-01 11:18:30 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:37 +0000 |
commit | c25c02b9e6a196be87a818f459c426556b24770d (patch) | |
tree | f15922ebddc7d38806b3ed54d6982b8a13184ad3 /linux-user/generic | |
parent | 0fdc465d7d5aafeae127eba488f247ac6f58df4c (diff) |
contrib/libvhost-user: Protect slave fd with mutex
In future patches we'll be performing commands on the slave-fd driven
by commands on queues, since those queues will be driven by individual
threads we need to make sure they don't attempt to use the slave-fd
for multiple commands in parallel.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'linux-user/generic')
0 files changed, 0 insertions, 0 deletions