• J
    util: Introduce and use virObjectRWLockWrite · 908b3364
    John Ferlan 提交于
    Instead of making virObjectLock be the entry point for two
    different types of locks, let's create a virObjectRWLockWrite API
    which will only handle the virObjectRWLockableClass objects.
    
    Use the new virObjectRWLockWrite for the virdomainobjlist code
    in order to handle the Add, Remove, Rename, and Load operations
    that need to be very synchronous.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    908b3364
virobject.h 3.5 KB