[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #5960] Enable multithread send/recv operations on sa
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns |
Date: |
Wed, 23 May 2007 14:36:34 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #11, patch #5960 (project lwip):
>Select doesn't use timeouts
For "select", it's an indirect call: lwip_select calls sys_sem_wait_timeout
which calls sys_timeout.
>a workaround that can be used for system not supporting per-thread storage
but is (almost for sure) slower than direct per-thread storage
I think that the "per-thread storage" is "OS dependant", but I'm sure that
code is pretty efficient :
struct sys_timeouts * sys_arch_timeouts(void)
{ return &(tasks_sys_timeouts[sys_get_current_task()]);
}
But it reserve memory for each task in the system (one pointer per task, I
have max 20 tasks, so 80 bytes on a 32bits arch).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5960>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, (continued)
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Jonathan Larmour, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns,
Frédéric Bernon <=
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Jonathan Larmour, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Simon Goldschmidt, 2007/05/23
- [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns, Frédéric Bernon, 2007/05/23