mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
Fixup compilation without pthreads.
git-svn-id: file:///svn/unbound/trunk@1183 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8b93a85a7d
commit
23ac4b02e3
1 changed files with 1 additions and 2 deletions
|
|
@ -311,8 +311,7 @@ thread_start(void* arg)
|
||||||
ub_thread_blocksigs();
|
ub_thread_blocksigs();
|
||||||
#ifdef THREADS_DISABLED
|
#ifdef THREADS_DISABLED
|
||||||
/* close pipe ends used by main */
|
/* close pipe ends used by main */
|
||||||
close(worker->cmd_send_fd);
|
tube_close_write(worker->cmd);
|
||||||
worker->cmd_send_fd = -1;
|
|
||||||
close_other_pipes(worker->daemon, worker->thread_num);
|
close_other_pipes(worker->daemon, worker->thread_num);
|
||||||
#endif
|
#endif
|
||||||
if(!worker_init(worker, worker->daemon->cfg, worker->daemon->ports, 0))
|
if(!worker_init(worker, worker->daemon->cfg, worker->daemon->ports, 0))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue