Fix for nothreading.

git-svn-id: file:///svn/unbound/trunk@922 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-02-06 10:09:54 +00:00
parent 9b31997a4c
commit 0e5b4105d1
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -128,8 +128,13 @@ checkerr(const char* desc, int err)
}
}
#if !defined(HAVE_PTHREAD) && !defined(HAVE_SOLARIS_THREADS)
/** only one process can communicate with async worker */
#define NUMTHR 1
#else /* have threads */
/** number of threads to make in extended test */
#define NUMTHR 10
#endif
/** struct for extended thread info */
struct ext_thr_info {