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

View file

@ -1,3 +1,8 @@
6 February 2008: Wouter
- clearer explanation of threading configure options.
- fixup asynclook test for nothreading (it creates only one process
to do the extended test).
5 February 2008: Wouter
- statistics-interval: seconds option added.
- test for statistics option

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 {