[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] TCPIP and MAC thread task priorities

From: Wayne Uroda
Subject: [lwip-users] TCPIP and MAC thread task priorities
Date: Mon, 27 Feb 2017 13:56:24 +1000

I was looking through my codebase recently (a mix of code from LPC Open, and also a project I inherited) and I saw a comment which I want to fact check:

/* TCPIP thread must run at higher priority than MAC threads! */

My software is using FreeRTOS. The Ethernet interrupt only signals a semaphore which wakes up the "MAC" thread. This thread handles incoming and outgoing packets on the ethernet hardware.

The comment implies that this MAC thread must run at a lower priority than the TCPIP thread. I don't know who wrote the comment, or if it is correct.

This posting 


indicates that there may not be such a stringent requirement, and it might even be advantageous to have the Ethernet task run at a higher priority than the TCPIP thread, but I'm not sure if the same applies to a MAC thread.

- Wayne


reply via email to

[Prev in Thread] Current Thread [Next in Thread]