]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
docs
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 13:07:38 +0000 (13:07 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Sep 2009 13:07:38 +0000 (13:07 +0000)
git-svn-id: file:///svn/unbound/trunk@1799 be551aaa-1e26-0410-a405-d3ace91eadb9

validator/val_anchor.h

index f6cab11163582602c09595ea19d7475018af3ff4..5a5fa4855429280f980307050db59ba4bec562d0 100644 (file)
@@ -52,6 +52,10 @@ struct autr_global_data;
 
 /**
  * Trust anchor store.
+ * The tree must be locked, while no other locks (from trustanchors) are held.
+ * And then an anchor searched for.  Which can be locked or deleted.  Then
+ * the tree can be unlocked again.  This means you have to release the lock
+ * on a trust anchor and look it up again to delete it.
  */
 struct val_anchors {
        /** lock on trees */