Andrei Zene <andrei.z...@outlook.com> added the comment:

Awesome work Victor! Thanks! I'll give it a try. One thing I see mising though 
(if I understand well) is the allocation of three fd_sets (I posted a comment 
on github regarding that).

Those fd_sets are currently allocated on stack and the array they contain is 
determined currently by FD_SETSIZE.

We'll basically need a similar structure that we can allocate dynamically, and 
cast it to fd_set when passing it to the select call.

I can go ahead and try implement the feedback and test it together with the 
changes in Victor's PR.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to