mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 08:33:39 +08:00
----------------------------------------------------------------------
Fixed the following bugs: 2366: For coldfire port: pbuf is freed twice when no room on output ring. 2368: Coldfire port: buffer cleanup in 5272 driver causes problems. 2376: Can't have timeouts large enough Note that timeouts are now 32 bits. This was done for select() support. Coldfire and unix ports have been updated. Committing in . Modified Files: src/core/sys.c src/include/lwip/sys.h ----------------------------------------------------------------------
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
void
|
||||
sys_mbox_fetch(sys_mbox_t mbox, void **msg)
|
||||
{
|
||||
u16_t time;
|
||||
u32_t time;
|
||||
struct sys_timeouts *timeouts;
|
||||
struct sys_timeout *tmptimeout;
|
||||
sys_timeout_handler h;
|
||||
@@ -91,7 +91,7 @@ sys_mbox_fetch(sys_mbox_t mbox, void **msg)
|
||||
void
|
||||
sys_sem_wait(sys_sem_t sem)
|
||||
{
|
||||
u16_t time;
|
||||
u32_t time;
|
||||
struct sys_timeouts *timeouts;
|
||||
struct sys_timeout *tmptimeout;
|
||||
sys_timeout_handler h;
|
||||
@@ -142,7 +142,7 @@ sys_sem_wait(sys_sem_t sem)
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void
|
||||
sys_timeout(u16_t msecs, sys_timeout_handler h, void *arg)
|
||||
sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg)
|
||||
{
|
||||
struct sys_timeouts *timeouts;
|
||||
struct sys_timeout *timeout, *t;
|
||||
|
||||
Reference in New Issue
Block a user