On 2021-11-11, [email protected] <[email protected]> wrote:
> Am 11.11.2021 um 17:36 schrieb Grant Edwards:
>> What should the wait queue order be for lwIP mailboxes, mutexes, and
>> semaphores?
>>
>> The port I'm trying to fix-up and get running is configuring all for
>> FIFO wait queues.
>
> I'm not sure I understand your question. Do you mean 'if multiple
> threads are waiting, which one gets woken first'?

Yes.

> In that case, it's nothing we as lwIP developers can answer:

But they're the ones that actually know what those kernel objects are
used for.

> it's mainly a question of how you want your system to behave. Using
> a decent embedded RTOS, I would say the answer is "the thread with
> the highest priority should be woken first", but that's really up to
> how your OS shall behave.

So the lwIP stack will work correctly with either FIFO or priority
queueing for the kernel objects used internally by lwIP?

--
Grant





_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to