This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bug in alarm handling fixed


Hi,

there is a bug in the sorted alarm list handling.

If CYGIMP_KERNEL_COUNTERS_SORT_LIST is enabled
the add_alarm is not working (at all).

The problem is that alarms with a greater trigger
value than the greatest trigger value in the list
are not inserted (i.e. adding alarms to the end
of the list is not working, except for a empty list).

this patch solves also the problem described in
http://sources.redhat.com/ml/ecos-discuss/2002-08/msg00065.html

regards, christoph

patch, changelog enclosed:

2002-09-26  Christoph Csebits  <christoph.csebits@frequentis.com>

        * src/common/clock.cxx (add_alarm): fixed adding an alarm
        to a sorted list.

Attachment: clock.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]