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: Simon Goldschmidt
Subject: Re: [lwip-users] Binary/counting semaphores and lwIP
Date: Fri, 21 Oct 2011 12:27:47 +0200

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



reply via email to

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