Added an overridable define to get informed when the tcpip_thread processes messages or timeouts to implement a watchdog.

This commit is contained in:
goldsimon
2010-04-14 07:02:26 +00:00
parent 3347762df3
commit 2e18a9be63
4 changed files with 12 additions and 0 deletions

View File

@@ -467,6 +467,7 @@ sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg)
h(arg);
UNLOCK_TCPIP_CORE();
}
LWIP_TCPIP_THREAD_ALIVE();
/* We try again to fetch a message from the mbox. */
goto again;