> 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


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

Reply via email to