lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5960] Enable multithread send/recv operations on sa


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns
Date: Wed, 23 May 2007 12:57:27 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #3, patch #5960 (project lwip):

>If you have a "variable size queue", and if you don't tune your
sys_new_queue with a good size, you can get a deadlock situation and block
tcpip_thread... 

For that case you should have an ASSERT. Maybe we should also give
sys_mbox_post a return value so that ASSERTs can safely be turned off in
RELEASE mode. (If we use a semaphore instead of conn->mbox, we should give
sys_sem_signal a return value, too!)

But I think the idea of tuning the mbox sizes is a good one!

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5960>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]