[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27266] wait-state debug message in pppMain occurs eve
From: |
Joseph Thomas-Kerr |
Subject: |
[lwip-devel] [bug #27266] wait-state debug message in pppMain occurs every millisecond |
Date: |
Mon, 17 Aug 2009 11:11:41 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.197.11 Safari/532.0 |
URL:
<http://savannah.nongnu.org/bugs/?27266>
Summary: wait-state debug message in pppMain occurs every
millisecond
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: jokester01au
Submitted on: Mon 17 Aug 2009 11:11:40 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
In the pppMain loop, the code below appears to mean that the quoted debug
message is printed out every millisecond, unless some data is read from the
serial port. So as soon as pppMain is running, the debug message system is
flooded with these messages so that you can't see anything else.
c = sio_read(pc->fd, p->payload, p->len);
if(c > 0) {
pppInProc(pd, p->payload, c);
} else {
PPPDEBUG((LOG_DEBUG, "pppMain: unit %d sio_read len=%d returned
%d\n", pd, p->len, c));
sys_msleep(1); /* give other tasks a chance to run */
}
Could we remove this debug message?
Regards,
Joe.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27266>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27266] wait-state debug message in pppMain occurs every millisecond,
Joseph Thomas-Kerr <=