From 9f9edf9ce6d8b92a6638d8df0c29a51fea0c1d8f Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 1 Sep 2009 13:07:38 +0000 Subject: [PATCH] docs git-svn-id: file:///svn/unbound/trunk@1799 be551aaa-1e26-0410-a405-d3ace91eadb9 --- validator/val_anchor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/validator/val_anchor.h b/validator/val_anchor.h index f6cab1116..5a5fa4855 100644 --- a/validator/val_anchor.h +++ b/validator/val_anchor.h @@ -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 */