• J
    util: Introduce and use virObjectRWUnlock · 045d712c
    John Ferlan 提交于
    Rather than overload virObjectUnlock as commit id '77f4593b' has
    done, create a separate virObjectRWUnlock API that will force the
    consumers to make the proper decision regarding unlocking the
    RWLock's. Similar to the RWLockRead and RWLockWrite, use the
    virObjectGetRWLockableObj helper. This restores the virObjectUnlock
    code to using the virObjectGetLockableObj.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    045d712c
virobject.h 3.5 KB