mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-09 19:37:43 +02: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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user