[ntp:questions] no ntp synchronisation: 2s to 6s time shift !

Martin Burnicki martin.burnicki at meinberg.de
Mon Feb 25 15:02:02 UTC 2008


Danny Mayer wrote:
> Hans Jørgen Jakobsen wrote:
>> Why are threads not used on UNIX?
>> /hjj
> 
> The experience with BIND 9 shows that various implementations of
> pthreads are flawed and therefore compiling BIND9 with threads remains
> an option. While I am willing to undertake the work to use threads it's
> a much harder problem to make it optional.

Hm, I'd really like to know what the limitations/problems with pthread are.

I'm assuming BIND would make heavy usage of threads, whereas ntpd would
basically only have to start one other thread to do the DNS lookups (except
the special Windows things, which have already been implemented as
threads).

There are no special requirements except for blocking critical sections
while some parameters are updated. 

This would also simplify a fix for bug #987: http://bugs.ntp.org/987


Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany




More information about the questions mailing list