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

Danny Mayer mayer at ntp.isc.org
Wed Feb 27 04:34:05 UTC 2008


Martin Burnicki wrote:
> 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).
> 

Yes.

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

Yes.

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

Yes.

Danny
> 
> Martin




More information about the questions mailing list