]> git.ipfire.org Git - thirdparty/chrony.git/commit
nameserv: add asynchronous resolving with POSIX threads
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 23 Apr 2014 15:50:36 +0000 (17:50 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 29 Apr 2014 13:19:06 +0000 (15:19 +0200)
commit54835671904365c741c314974507cc2b6a85fdc1
treeab673b6da8cfbaf98e1297eff8e6ff7340a869a7
parentd243f1f8feac1241a6d5be71964e9b9df5d06aa2
nameserv: add asynchronous resolving with POSIX threads

Run getaddrinfo()/gethostbyname() in separate thread to avoid blocking.
Only one resolving thread is running at one time, so this should work
also on systems where the functions are not thread-safe.
configure
logging.h
nameserv_async.c