[syslinux:lwip] lwipopts.h: Bump the priority of the tcpip_thread

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Mar 30 16:12:03 PDT 2012


Commit-ID:  ccf954c113e87a16527fbc8c92d69895bf16a617
Gitweb:     http://www.syslinux.org/commit/ccf954c113e87a16527fbc8c92d69895bf16a617
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 30 Mar 2012 16:04:29 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 30 Mar 2012 16:04:29 -0700

lwipopts.h: Bump the priority of the tcpip_thread

Run tcpip_thread at higher priority than the root thread.  It's not
entirely clear this is the right thing to do, but it probably makes
sense for now at least.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>

---
 core/lwip/src/include/lwipopts.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index 1c8b674..5778fe5 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -12,7 +12,7 @@
 #define LWIP_ICMP		1
 
 #define TCPIP_MBOX_SIZE         	512
-#define TCPIP_THREAD_PRIO		0
+#define TCPIP_THREAD_PRIO		-10
 #define TCPIP_THREAD_STACKSIZE		32768
 
 #define DEFAULT_UDP_RECVMBOX_SIZE	16


More information about the Syslinux-commits mailing list