[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore |
Date: |
Thu, 31 May 2007 16:25:34 +0200 |
> >
> > That conn->sem seems only to be waited for when running out
> of memory.
>
> But its signaled in sent_tcp():
>
> if (conn != NULL && conn->sem != SYS_SEM_NULL) {
> sys_sem_signal(conn->sem);
> }
>
> I see no condition depending on memory here.
Yes, it rather seems like a bug... I'll test it at home if I find
the time. Only to verify it's not a problem with your port. From
looking at the code I don't think so, but who knows...
>
> > Matthias, what kind of data are you sending? (e.g. how much, how
> > often, what is your window size compared to the data you
> are sending,
> > which
> > direction: tx or rx only or both?)
>
> Always packages with 11 Bytes which are then echoed back to
> the sender. So only very small packets at a very low rate of
> about 200ms between two packages. I am still testing so no
> hard conditions (yet :-)
Normal echo server acting on one continous connection. That's
pretty easy to test ;-)
Simon
- Re: [lwip-users] SemSignal gets called on a already signaled semaphore, (continued)
- Re: [lwip-users] SemSignal gets called on a already signaled semaphore, Jonathan Larmour, 2007/05/31
- Antw: Re: [lwip-users] SemSignal gets called on a already signaled semaphore, Matthias Weisser, 2007/05/31
- RE: [lwip-users] SemSignal gets called on a alreadysignaled semaphore, Goldschmidt Simon, 2007/05/31
- Antw: RE: [lwip-users] SemSignal gets called on a alreadysignaled semaphore, Matthias Weisser, 2007/05/31
- RE: Antw: RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore, Goldschmidt Simon, 2007/05/31
- RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore, Matthias Weisser, 2007/05/31
- RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore,
Goldschmidt Simon <=
- Re: Antw: RE: [lwip-users] SemSignal gets called on aalreadysignaled semaphore, Jonathan Larmour, 2007/05/31
- RE: Antw: RE: [lwip-users] SemSignal gets called on aalreadysignaledsemaphore, Goldschmidt Simon, 2007/05/31
- Re: Antw: RE: [lwip-users] SemSignal gets called on aalreadysignaledsemaphore, Jonathan Larmour, 2007/05/31
Re: [lwip-users] SemSignal gets called on a already signaled semaphore, Clive Wilson, 2007/05/31