mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Replace HandleData's File Mutex with a RwLock to have more granularity on the lock. This allows operations on the same File that are safe to be run in parallel (at this moment, read and write), to acquire a read lock to avoid waiting on each other. Signed-off-by: Sergio Lopez <slp@redhat.com>