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 14:40:41 +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 #12, patch #5960 (project lwip):

>return &(tasks_sys_timeouts[sys_get_current_task()]);

OK, but on systems like windows, sys_get_current_task() would return a DWORD
for the ID or a void* for a HANDLE, and you wouldn't want to implement an
array for that. You'd normally use the prio on small embedded OSes for the
array and have a MAX_PRIO. But on systems using round-robin, where tasks can
have the same prio, the prio is not enough again...

    _______________________________________________________

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]