[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] netconn_delete and _recv not thread safe
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] netconn_delete and _recv not thread safe |
Date: |
Fri, 15 Dec 2006 11:14:38 +0000 |
On Thu, 2006-12-14 at 20:59 +0000, Jonathan Larmour wrote:
> It may be possible to solve this if it is ok to assign mboxes:
> SYS_ARCH_PROTECT(old_level);
> tmp_mbox = conn->recvmbox;
> conn->recvmbox = SYS_MBOX_NULL;
> SYS_ARCH_UNPROTECT(old_level);
>
> Is assuming mboxes are assignable a valid approach? Any other thoughts?
That would be exactly what I'd try first. Should be easy to experiment
with at least.
Kieran