no lock checks(file size) and align 64 bits, because otherwise bus error

on solaris.


git-svn-id: file:///svn/unbound/trunk@386 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-06-13 12:27:18 +00:00
parent ccafa0830f
commit 3c1e638757
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ static ub_thread_key_t thr_debug_key;
/** the list of threads, so all threads can be examined. NULL if unused. */
static struct thr_check* thread_infos[THRDEBUG_MAX_THREADS];
/** do we check locking order */
int check_locking_order = 1;
int check_locking_order = 0;
/** the pid of this runset, reasonably unique. */
static pid_t check_lock_pid;

View file

@ -50,7 +50,7 @@
/** increase size until it fits alignment of s bytes */
#define ALIGN_UP(x, s) (((x) + s - 1) & (~(s - 1)))
/** what size to align on */
#define ALIGNMENT (sizeof(void *))
#define ALIGNMENT (sizeof(uint64_t))
/** set to 1 to perform expensive check for double recycle() */
#define CHECK_DOUBLE_FREE 0