[Pdns-dev] thread id in backend?

bert hubert ahu at ds9a.nl
Wed Dec 17 22:15:30 CET 2003


On Wed, Dec 17, 2003 at 09:52:59PM +0100, Norbert Sendetzky wrote:
> On Tuesday 16 December 2003 18:24, Norbert Sendetzky wrote:
> > Is there a way to get the id of the thread, which established the
> > backend?
> 
> pthread_self() does the job well.

Except that it returns an opaque 'thing' which may not be numerically
expressable.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list