[Pdns-dev] Re: Bug in pdns_recursor (pdns 2.9.9)
cmeerw at web.de
Mon Jun 23 23:41:13 CEST 2003
On Mon, 23 Jun 2003 22:28:22 +0200, Norbert Sendetzky wrote:
> On Monday 23 June 2003 21:43, Christof Meerwald wrote:
>> > Well, Logger will call the real pthread_self() function and not the dummy
>> > (I hope).
>> There is no other (or real) pthread_self function - pdns_recursor doesn't
>> link with -lpthread. And even if it would, I think it would still call the
>> locally overridden pthread_self.
> Hmm, that's funny. I thought PDNS is using threads.
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).
http://cmeerw.org JID: cmeerw at jabber.at
mailto cmeerw at web.de
More information about the Pdns-dev