[Pdns-dev] Re: Bug in pdns_recursor (pdns 2.9.9)
Norbert Sendetzky
norbert at linuxnetworks.de
Tue Jun 24 11:28:48 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 23 June 2003 22:41, Christof Meerwald wrote:
> Yes, pdns is using threads, but the recursor is not (instead it
> uses some kind of non-preemptive user-level threads using
> makecontext/swapcontext on Unix or fibers on Win32).
Ok, the savest way would be to remove the function bodies in the
extern "C" block and link pdns_recursor against -lpthread. Otherwise
the mutex things won't work either. Maybe this is not a "real"
problem, but the current code is very unclean.
Norbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj74C8AACgkQxMLs5v5/7eB45gCffNh34EYQfyQhxvCXWZ+dolz5
tesAn1h/Lkfx3m2fSYUnmT1103yrFyRO
=ZJW0
-----END PGP SIGNATURE-----
More information about the Pdns-dev
mailing list