search for: guestfs___lookup_lock_or_abort

Displaying 1 result from an estimated 1 matches for "guestfs___lookup_lock_or_abort".

2014 May 29
2
[PATCH] library: per-handle locking support
...gt; + +#include "glthread/lock.h" +#include "ignore-value.h" + +#include "guestfs.h" +#include "guestfs-internal.h" +#include "guestfs-internal-actions.h" +#include "guestfs_protocol.h" + +#include "locking.h" + +static gl_lock_t guestfs___lookup_lock_or_abort (guestfs_h *g, int *pos); +static void guestfs___per_handle_lock_is_not_held (guestfs_h *g); +static void ___shrink_lock_arrays (void); + + +gl_lock_define (static, *per_handle_locks) +gl_rwlock_define_initialized (static, locks_lock) + +/* items in handles array bijectively corresponds to items in...