mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
solaris thread safety of thread functions.
git-svn-id: file:///svn/unbound/trunk@1612 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
5cacd20a6e
commit
81023e116d
2 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue