mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 07:41:16 -05:00
Fix for nothreading.
git-svn-id: file:///svn/unbound/trunk@922 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9b31997a4c
commit
0e5b4105d1
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
5 February 2008: Wouter
|
||||||
- statistics-interval: seconds option added.
|
- statistics-interval: seconds option added.
|
||||||
- test for statistics option
|
- test for statistics option
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
/** number of threads to make in extended test */
|
||||||
#define NUMTHR 10
|
#define NUMTHR 10
|
||||||
|
#endif
|
||||||
|
|
||||||
/** struct for extended thread info */
|
/** struct for extended thread info */
|
||||||
struct ext_thr_info {
|
struct ext_thr_info {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue