[ldns-users] Is ldns_resolver_query() thread-safe?

Willem Toorop willem at nlnetlabs.nl
Thu Jan 25 09:12:02 UTC 2018


Hi Vladimir,

ldns is thread safe (because it doesn't use any non constant global
variables), but ldns used OpenSSL for it's DNSSEC operations.  OpenSSL
can be used thread safe when you take some safety precautions, see:

	https://www.openssl.org/docs/man1.0.2/crypto/threads.html

Cheers,
-- Willem

Op 24-01-18 om 15:28 schreef Vladimir Levijev:
> Hi,
> 
> I couldn't get this information from the web site, so asking here. Is
> libldns thread-safe? In other words, can I create a program in which I
> would call ldns_resolver_query() in parallel in separate POSIX
> threads?
> 
> Cheers,
> 
> VL
> _______________________________________________
> ldns-users mailing list
> ldns-users at nlnetlabs.nl
> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users
> 




More information about the ldns-users mailing list