[Pdns-dev] Re: Bug in pdns_recursor (pdns 2.9.9)
Norbert Sendetzky
norbert at linuxnetworks.de
Tue Jun 24 14:27:07 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 24 June 2003 11:17, bert hubert wrote:
> We can't compile the pdns_recursor against -lpthread as that causes
> big problems with get/set/make/swapcontext.
>
> I've discussed that with Ulrich Drepper, one of the glibc guys, and
> it is pretty fundamental.
Well, seems like this is the only possibility. I assume that the
pthread stuff in pdns_recursor is not really necessary, because it's
"single threaded" (read: only using one process doing *context).
Therefore "return (pthread_t) 0;" is ok (return tmp; would be
undefined and thus a bug), but what's about the other pthread
functions (mutex_{lock,unlock}) Logger is using? They are not defined
in the extern "C" block. Shouldn't they be defined either?
Norbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj74NYsACgkQxMLs5v5/7eBlLQCfX1o+RiAf2zhPvgo/U3gjnlkp
U5kAoLG6mxufeQ+j/w9TLmcCDBDfNs9g
=OGnh
-----END PGP SIGNATURE-----
More information about the Pdns-dev
mailing list