tdb2: check PID if we are holding a lock.
[ccan] / ccan / tdb2 / private.h
index a09fec24dd32aa1d746518b3c417fe327aff82e5..c95c7e05e59181f9d67c8131c7d813353a4c99af 100644 (file)
@@ -335,6 +335,7 @@ struct tdb_file {
        int fd;
 
        /* Lock information */
+       pid_t locker;
        struct tdb_lock allrecord_lock;
        size_t num_lockrecs;
        struct tdb_lock *lockrecs;