search for: per_handle_lock

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

Did you mean: per_handle_locks
2014 May 29
2
[PATCH] library: per-handle locking support
Introduces private pool of muteces (per_handle_locks) guarded by read-write mutex (locks_lock) using guestfs__per_handle_lock_lock(g) and guestfs__per_handle_lock_unlock(g), where g is current valid guestfs_h handle. Above two are used in generator/c.ml at begin and end of each non-deamon call. New lock can be created using guestfs__per_handle_lock...