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

@@ -48,6 +48,12 @@
extern "C" {
#endif
/** Define this to something that triggers a watchdog. This is called from
* tcpip_thread after processing a message. */
#ifndef LWIP_TCPIP_THREAD_ALIVE
#define LWIP_TCPIP_THREAD_ALIVE()
#endif
#if LWIP_TCPIP_CORE_LOCKING
/** The global semaphore to lock the stack. */
extern sys_mutex_t lock_tcpip_core;