[Pdns-dev] Re: Bug in pdns_recursor (pdns 2.9.9)
norbert at linuxnetworks.de
Tue Jun 24 11:28:48 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the Pdns-dev