Package: libortp0
Version: 1.0.0pre9-1
Severity: important
Tags: patch

Hi,

The timer does not work well with new 2.6 linux kernels, on which the
clock rate is 1KHz: the timer almost always arrives 1ms too late, which
produces time skews almost every 0.1s...

Plus using setitimer and SIGALRM, and then playing with signal masks in
a library is really not a good idea (signal masks never work the same
depending on the thread library...).

Here is a proposal to replace it with a mere posix' select(): on the
different machines I could test (with various speeds and kernels), it
worked a bit better on 2.4 kernels, and a lot better on 2.6. And it
doesn't rely on knowing the kernel clock rate, as long as the period is
less than 10ms.

Note: it should be possible to apply it to windows version as well, using
the socket libary's select().

Regards,
Samuel Thibault

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages linphone depends on:
ii  libart-2.0-2                2.3.17-1     Library of functions for 2D graphi
ii  libatk1.0-0                 1.8.0-4      The ATK accessibility toolkit
ii  libbonobo2-0                2.8.1-2      Bonobo CORBA interfaces library
ii  libbonoboui2-0              2.8.1-1      The Bonobo UI library
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgconf2-4                 2.8.1-4      GNOME configuration database syste
ii  libglib2.0-0                2.6.2-1      The GLib library of C routines
ii  libgnome2-0                 2.8.0-6      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0           2.8.0-1      A powerful object-oriented display
ii  libgnomeui-0                2.8.0-3      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              2.8.3-11     The GNOME virtual file-system libr
ii  libgtk2.0-0                 2.6.2-3      The GTK+ graphical user interface 
pi  libice6                     4.3.99-1     Inter-Client Exchange library
ii  liblinphone1                1.0.0pre9-1  linphone web phone's library (supp
ii  liborbit2                   1:2.10.5-0.1 libraries for ORBit2 - a CORBA ORB
ii  libosip2-3                  2.2.0-1      Session Initiation Protocol (SIP) 
ii  libpanel-applet2-0          2.8.2-2      library for GNOME 2 panel applets
ii  libpango1.0-0               1.8.0-3      Layout and rendering of internatio
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libsm6                      4.3.99-1     X Window System Session Management
ii  libxml2                     2.6.16-3     GNOME XML library
ii  linphone-nox                1.0.0pre9-1  web phone
ii  xlibs                       4.3.99-1     X Window System client libraries m
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to