[En-Nut-Discussion] Preview Fix 060626

Michael Jones Michael.e.Jones at web.de
Tue Jun 27 00:05:42 CEST 2006


I think I found two typos in event.c:

I guess that:
                   if (tqp->td_qnxt) {
                        tqp->td_next->td_qpec = tqp->td_qpec;

should be:
                   if (tqp->td_qnxt) {
                        tqp->td_qnxt->td_qpec = tqp->td_qpec;

Found in NutEventTimeout(...) and NutEventPostAsync(...)

Runs better after this yet there still seems to be lost events... but no
more lost threads or heap...


Cu,
Michael

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Harald Kipp
Sent: Monday, June 26, 2006 8:44 PM
To: Ethernut User Chat (English)
Subject: [En-Nut-Discussion] Preview Fix 060626

My version of a fix
ethernut-fix060626.zip
is available at
http://www.ethernut.de/arc/

It contains a number of files to be replaced by 4.1.5 or
later or CVS HEAD.

It should solve the disappearing thread issue, the timers-
eating-all-memory issue and it should further reduce critical
sections.

Please try this with one or two applications and let me know
any problems.

Harald

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion





More information about the En-Nut-Discussion mailing list