Change sys_mbox_fetch implementation.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:13 +0000 (14:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:13 +0000 (14:40 +0000)
commitc827790b0f228e1be31d1e5a10c25b09e7db8c38
tree351981da130102983735b5d91fd162c9e7361b11
parent69189320a33089d77c2623698c583a7a0fc48702
Change sys_mbox_fetch implementation.

Mailboxes can be created in a different process than the one that waits
for messages. This is a problem with BeRTOS MsgPorts because the process
to be woken up is set during init.
In this patch, the process to be awaken is changed just before
waiting.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5237 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/net/lwip/src/arch/sys_arch.c