# HG changeset patch # User jani # Date 1083742112 0 # Node ID 08e81f0c1712154107f42ac0a4ee9385e498d1dd # Parent 40c53c83bbc47e41edb14785d7008d0f43459c31 src/netif/ppp/ppp.c: Decrease sleep period in main thread from 250 to 1 ms. diff --git a/packages/net/lwip_tcpip/current/ChangeLog b/packages/net/lwip_tcpip/current/ChangeLog --- a/packages/net/lwip_tcpip/current/ChangeLog +++ b/packages/net/lwip_tcpip/current/ChangeLog @@ -1,3 +1,9 @@ +2004-05-05 Jani Monoses + + * src/netif/ppp/ppp.c: Decrease sleep period in main thread + from 250ms to 1ms. Was a leftover of debugging the code and + slowing things down. + 2004-05-04 Jani Monoses * cdl/lwip_net.cdl diff --git a/packages/net/lwip_tcpip/current/src/netif/ppp/ppp.c b/packages/net/lwip_tcpip/current/src/netif/ppp/ppp.c --- a/packages/net/lwip_tcpip/current/src/netif/ppp/ppp.c +++ b/packages/net/lwip_tcpip/current/src/netif/ppp/ppp.c @@ -1233,7 +1233,7 @@ static void pppMain(void *arg) pppInProc(pd, p->payload, c); } else { PPPDEBUG((LOG_DEBUG, "pppMainWakeup: unit %d sio_read len=%d returned %d\n", pd, p->len, c)); - sys_msleep(250); /* give other tasks a chance to run */ + sys_msleep(1); /* give other tasks a chance to run */ } } }