Message125361
Does this mean that it's better to call the close() syscall 1000 or 1000 0000 times rather than listing the open fds & closing say a handful?
On Linux, the listdir function results in an open() syscall, 2 or so getdents() calls and a close() call - could this not be done inbetween the fork & exec, even if the actual python function isn't called directly? |
|
Date |
User |
Action |
Args |
2011-01-04 20:06:17 | rosslagerwall | set | recipients:
+ rosslagerwall, gregory.p.smith, pitrou, jyasskin |
2011-01-04 20:06:17 | rosslagerwall | set | messageid: <1294171577.63.0.505249919284.issue8052@psf.upfronthosting.co.za> |
2011-01-04 20:06:15 | rosslagerwall | link | issue8052 messages |
2011-01-04 20:06:15 | rosslagerwall | create | |
|