]> git.ozlabs.org Git - ccan/commit
tdb2: tdb_lockall() and tdb_lockall_read() support.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 07:51:27 +0000 (18:21 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 07:51:27 +0000 (18:21 +1030)
commitf513c5701b184fd1c0a6f03431c7fdda3ab6d2cf
treeccb47134b6fdc2eb544959e8b291b53291ff36bf
parent082d651ffd87f78f20d56aa477c3c75d7361c1e1
tdb2: tdb_lockall() and tdb_lockall_read() support.

We also change tdb_chainunlock not to return an error (as per the
other locking functions: we log a message, but don't return an error).
ccan/tdb2/hash.c
ccan/tdb2/lock.c
ccan/tdb2/open.c
ccan/tdb2/private.h
ccan/tdb2/tdb2.h
ccan/tdb2/test/run-lockall.c [new file with mode: 0644]