[lwip-users] event_callback() context switch when calling sys_sem_signal()

2014-09-19 Thread Joel Cunningham
I'm running LwIP 1.4.1 and have some questions about the event_callback() in sockets.c In my project, I am experiencing a crash related to synchronization in event_callback() and an application thread calling select().  My project is a uniprocessor system running an RTOS that implements a

Re: [lwip-users] event_callback() context switch when calling sys_sem_signal()

2014-09-19 Thread S G
Joel Cunningham wrote: 1) Should SYS_ARCH_PROTECT() do more than just disable interrupts?  Something that would act as a critical section in the case where a context switch happens? Up to now, it should block task switching too, I guess. Although this is not cleanly documented, it's just