Hi Paul,
 
Some more Info about which libc shared library my code is linked to:
 
When I run ./configure on my LXDE PC with OWFS 2.7p37 I get the following
lines relating to threads:
 
        checking if multithreading is enabled... yes (default)
        checking for the pthreads library -lpthreads... no
        checking whether pthreads work without any flags... no
        checking whether pthreads work with -Kthread... no
        checking whether pthreads work with -kthread... no
        checking for the pthreads library -llthread... no
        checking whether pthreads work with -pthread... yes
        checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
 
Then after the package is built, this is how the owserver was linked:
 
        owfs:/opt/owfs/bin# ldd owserver
        linux-gate.so.1 =>  (0xb7fe3000)
        libow-2.7.so.37 => /opt/owfs/lib/libow-2.7.so.37 (0xb7f4c000)
        libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xb7f3b000)
        libm.so.6 => /lib/libm.so.6 (0xb7f15000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f11000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7ef9000)
        libc.so.6 => /lib/libc.so.6 (0xb7dbb000)
        /lib/ld-linux.so.2 (0xb7fe4000)
 
This is the package: libpthread.so.0 is in:
 
        owfs:/opt/owfs/bin# dpkg -S  /lib/libpthread.so.0
        libc6: /lib/libpthread.so.0
 
Then libc6 is:
 
        owfs:/opt/owfs/bin# dpkg -s libc6
        Package: libc6
        Status: install ok installed
        Priority: required
        Section: libs
        Installed-Size: 10764
        Maintainer: GNU Libc Maintainers <debian-gl...@lists.debian.org>
        Architecture: i386
        Source: glibc
        Version: 2.7-18lenny2
        Provides: glibc-2.7-1
        Depends: libgcc1
        Suggests: locales, glibc-doc, libc6-i686
        Conflicts: libterm-readline-gnu-perl (<< 1.15-2), tzdata (<<
2007k-1), tzdata-etch
        Conffiles:
         /etc/ld.so.conf.d/i486-linux-gnu.conf
36f09aeeab18f6af453d0a1db0a0942c
         /etc/ld.so.conf.d/libc.conf d4d833fd095fb7b90e1bb4a547f16de6
         /etc/gai.conf bdd4cc328b946a52cc1424ef3dfa9321
         /etc/init.d/glibc.sh ce55541f2b38719f6eba57abe9f23603
         /etc/bindresvport.blacklist db84c47f31f8d5a334a4053d8368e902
        Description: GNU C Library: Shared libraries
         Contains the standard libraries that are used by nearly all
programs on
         the system. This package includes shared versions of the standard C
library
         and the standard math library, as well as many others.

So it seems I am using: glibc already and not uClibc as you has supposed.
 
With 2.7p37 I was seeing strange little 0.5 Deg C dips in the traces every
hour or two as temploggerd is storing/rendering that were occurring on
all/most the traces at the same times. I presumed that this was because
owserver was crashing while temperatures are being read causing the dips and
then it recovers on the next time slot after inittab restarts owserver.
 
When I rolled back to 2.7p28, the little dips in the traces go away and I
don't get any: "...tpp.c:66: __pthread_tpp_change_priority: Assertion..."
entries in the log.
 
Hope that helps
 
Alex Shepherd
------------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to