mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-27 12:14:54 +02:00
iana update.
checklocks.c is not in the compile path for production code anymore. git-svn-id: file:///svn/unbound/trunk@1129 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+11
-1
@@ -47,11 +47,21 @@
|
||||
#include "util/log.h"
|
||||
#include "util/rbtree.h"
|
||||
#include "util/locks.h"
|
||||
#include "testcode/checklocks.h"
|
||||
#include "util/fptr_wlist.h"
|
||||
|
||||
/* --- data structures --- */
|
||||
struct lock_ref;
|
||||
|
||||
/** keep track of lock id in lock-verify application
|
||||
* Also defined in smallapp/worker_cb.c for fptr_wlist encapsulation
|
||||
* breakage (the security tests break encapsulation for this test app) */
|
||||
struct order_id {
|
||||
/** the thread id that created it */
|
||||
int thr;
|
||||
/** the instance number of creation */
|
||||
int instance;
|
||||
};
|
||||
|
||||
/** a lock */
|
||||
struct order_lock {
|
||||
/** rbnode in all tree */
|
||||
|
||||
Reference in New Issue
Block a user