lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Binary/counting semaphores and lwIP


From: Magnus S
Subject: Re: [lwip-users] Binary/counting semaphores and lwIP
Date: Fri, 21 Oct 2011 12:32:55 +0200

Ok Simon,
thanks for the answer, now I know the wiki is up-to-date.

/Magnus




2011/10/21 Simon Goldschmidt <address@hidden>
Magnus S <address@hidden> wrote:
> Are there any benefits from using counting semaphores instead of binary
> semaphores for lwIP?

No.

> Is it at all possible to use binary semaphores with lwIP?

Yes.

> According to this wiki-page it seems as the choice does not matter, but
> are
> there any other considerations that should be taken into account?
> http://lwip.wikia.com/wiki/Porting_for_an_OS

And it seems the wiki is correct there.

> In my case the system is using AVR32 with FreeRTOS.
> In the default setting of the Atmel example applications, binary
> semaphores
> are used. Could that cause any issues?

No.

When using counting semaphores, lwIP will only count them to 1, so there's no real use for that.

Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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