aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-03-30 16:04:29 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-03-30 16:04:29 -0700
commitccf954c113e87a16527fbc8c92d69895bf16a617 (patch)
tree1940f17636cfd63965e4f23edfabb84190d7ae96
parentef1e15adc91cd0d26fe70df00ec7d94b1417fa87 (diff)
downloadsyslinux-ccf954c113e87a16527fbc8c92d69895bf16a617.tar.gz
syslinux-ccf954c113e87a16527fbc8c92d69895bf16a617.tar.xz
syslinux-ccf954c113e87a16527fbc8c92d69895bf16a617.zip
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@zytor.com>
-rw-r--r--core/lwip/src/include/lwipopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index 1c8b6746..5778fe5e 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