On Fri, 2007-06-01 at 11:41 +0200, [EMAIL PROTECTED] wrote: > > Does LwIP make any asumption on the order that semaphores are > released. > I.e. if two threads use LwIP does the LwIP TCP/IP-thread assume that > the messages > sent over a common message box will be received by the threads in the > order that they are sent? > Or is it ok to have a "polling" semaphore system where threads waiting > on the same semaphore might > be woken regardless to how long they have been waiting.
Can you provide some more details? This sounds rather like you're using the same connection from two different threads without using a mutex to protect it. Frederic is the expert on this, and has ideas about how to resolve it, but it's known not to work at the moment. It's probably best to assume that lwIP, for reasons of simplicity, doesn't currently support multiple threads using the same connection at the same time. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
