summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-08 19:04:39 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-18 14:48:04 +0100
commit333c92384b0680b8f8e5198dd68d49b249b34ec7 (patch)
tree8042feeb87bf2a0f763b0972facca268a935a8c6 /source3/rpc_client
parent45e61fcf61ed9863fbe2b116fe0763fc139bbe0d (diff)
downloadsamba-333c92384b0680b8f8e5198dd68d49b249b34ec7.tar.gz
samba-333c92384b0680b8f8e5198dd68d49b249b34ec7.tar.bz2
samba-333c92384b0680b8f8e5198dd68d49b249b34ec7.zip
s3: Enforce a lock order in dbwrap
This makes sure we do not deadlock from doing two dbwrap_fetch_locked in two processes in different orders. At open time, we assign a strict order to all databases. lock_order 1 will be locked first, lock_order 2 second. No two records of the same lock order may be locked at the same time.
Diffstat (limited to 'source3/rpc_client')
0 files changed, 0 insertions, 0 deletions