mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-12 03:07:01 +08:00
Move LWIP_MARK_TCPIP_THREAD to include/lwip/sys.h
* LWIP_MARK_TCPIP_THREAD moved to include/lwip/sys.h * Unix port macro definitions moved to sys_arch.h * LWIP_MARK_TCPIP_THREAD * LOCK_TCPIP_CORE * UNLOCK_TCPIP_CORE (goldsimon@gmx.de: fixed unix Makefile build and win32 build) Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
committed by
Simon Goldschmidt
parent
8291ff3dc0
commit
fa6f8054eb
@@ -227,14 +227,7 @@
|
||||
#define LWIP_ASSERT_CORE_LOCKED()
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Called as first thing in the lwIP TCPIP thread. Can be used in conjunction
|
||||
* with @ref LWIP_ASSERT_CORE_LOCKED to check core locking.
|
||||
* @see @ref multithreading
|
||||
*/
|
||||
#if !defined LWIP_MARK_TCPIP_THREAD || defined __DOXYGEN__
|
||||
#define LWIP_MARK_TCPIP_THREAD()
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
@@ -421,6 +421,16 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
|
||||
|
||||
#endif /* NO_SYS */
|
||||
|
||||
/**
|
||||
* @ingroup lwip_opts_lock
|
||||
* Called as first thing in the lwIP TCPIP thread. Can be used in conjunction
|
||||
* with @ref LWIP_ASSERT_CORE_LOCKED to check core locking.
|
||||
* @see @ref multithreading
|
||||
*/
|
||||
#if !defined LWIP_MARK_TCPIP_THREAD || defined __DOXYGEN__
|
||||
#define LWIP_MARK_TCPIP_THREAD()
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @ingroup sys_misc
|
||||
* sys_init() must be called before anything else.
|
||||
|
||||
Reference in New Issue
Block a user