solaris thread safety of thread functions.

git-svn-id: file:///svn/unbound/trunk@1612 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-04-23 12:51:33 +00:00
parent 5cacd20a6e
commit 81023e116d
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,6 @@
23 April 2009: Wouter
- fix for threadsafety in solaris thr_key_create() in tests.
21 April 2009: Wouter
- fix for build outside sourcedir.
- fix for configure script swig detection.

View file

@ -370,6 +370,8 @@ int main(int argc, char** argv)
struct lookinfo* lookups;
int i, r, cancel=0, blocking=0, ext=0;
/* init log now because solaris thr_key_create() is not threadsafe */
log_init(0,0,0);
/* lock debug start (if any) */
checklock_start();