[ldns-users] Is ldns C library thread-safe?

Willem Toorop willem at nlnetlabs.nl
Mon Nov 14 16:00:52 UTC 2016


ldns is thread-safe in the sense that it doesn't use global variables.
It does use libcrypto for cryptographic operations which might not be
thread safe.  You have to check with the OpenSSL that you are using on
how to make sure they can be used thread-safe.

Here are some pointers:

-- Willem

Op 15-11-16 om 00:21 schreef Vladimir Levijev:
> Hi,
> We'd like to perform multiple ldns_resolver_query() calls in a
> multi-threaded application. For each call different resolver will be
> used. We would like to use POSIX threads directly or with the help of
> OpenMP. Is that a good idea?
> Cheers,
> VL
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> https://open.nlnetlabs.nl/mailman/listinfo/ldns-users

More information about the ldns-users mailing list