lwip-users
[Top][All Lists]
Advanced

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

RE: Antw: Re: [lwip-users] SemSignal gets called on a alreadysignaled se


From: Goldschmidt Simon
Subject: RE: Antw: Re: [lwip-users] SemSignal gets called on a alreadysignaled semaphore
Date: Thu, 31 May 2007 13:06:20 +0200

> So, this means that lwip needs counting semaphores? If so 

Yes!

> than I can use the semaphores of my OS (which are counting 
> semaphores) but than I have still the problem of a lot of 
> sys_sem_signal calls to a semaphore where is never called a 
> wait for. So the semaphores value is incremented and 
> incremented and incremented until it reaches a maximum value 
> (which I can define in my OS) and then the OS reports the 
> error. I can set the maximum to a very high value but that 
> doesn't solve the problem.

That's an error. I suppose something with your port, an initialization
fault presumably...

> 
> Another question is: What does the count argument of 
> sys_sem_new mean? Is it the initial count value of the 
> semaphore? Or anything else?

Exactly, it's the initial count.


Simon




reply via email to

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