[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c
From: |
Kieran Mansley |
Subject: |
RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c |
Date: |
Thu, 08 Oct 2009 09:27:39 +0100 |
On Wed, 2009-10-07 at 15:54 -0400, David Shmelzer wrote:
> I traced the problem to conn->err being assigned a value in separate
> threads.
> One in recv_tcp() and another in netconn_recv().
>
> recv_tcp() is called from the tcpip_thread and netconn_recv() is called
> from a separate thread.
> Am I using netconns incorrectly?
> If so, shouldn't conn->err be a thread safe variable since it is
> accessed from tcpip_thread as well as the thread using the netconn api?
> conn->recv_avail is thread safe.
If that is the case I think it should. Could you file a bug?
Kieran
- [lwip-users] sys_arch_mbox_fetch() peek, David Shmelzer, 2009/10/05
- Re: [lwip-users] sys_arch_mbox_fetch() peek, Simon Goldschmidt, 2009/10/06
- [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/06
- Re: [lwip-users] conn->err = ERR_CLSD in api_lib.c, Kieran Mansley, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c,
Kieran Mansley <=
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/13
- [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/13
- Re: [lwip-users] TCP payload is doubled, David Empson, 2009/10/13
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/14
- RE: [lwip-users] TCP payload is doubled, Bill Auerbach, 2009/10/14
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/15
- SV: [lwip-users] TCP payload is doubled, Jan Wester, 2009/10/16
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/16
- RE: [lwip-users] TCP payload is doubled, Kieran Mansley, 2009/10/21
- RE: [lwip-users] TCP payload is doubled, Kieran Mansley, 2009/10/21