Re: [lwip-users] TCP retransmission flooding at end of stream

2014-09-19 Thread Sergio R. Caprile
For any Dragon Ball Z fans out there, this STM bug looks like Majin Buu to me... Anyway, glad you managed to solve your issue Michael, next user with an STM bug will be charged ;^) I wonder if the SICS can take donations... As per the tcp_poll() vs tcp_sent() in your scenario, it depends on what

[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] TCP retransmission flooding at end of stream

2014-09-19 Thread S G
Sergio R. Caprile wrote: Anyway, glad you managed to solve your issue Michael, next user with an STM bug will be charged ;^) I wonder if the SICS can take donations... I would take donations as well :-) I'm not getting paid for this, and my slooow 2007er MacBook is one of the reasons I

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