[Python-ideas] Extend socket.accept to put accepted socket in non-blocking mode

Saúl Ibarra Corretgé saghul at gmail.com
Sun Mar 9 23:02:16 CET 2014


On 03/07/2014 11:40 AM, Antoine Pitrou wrote:
> On Fri, 07 Mar 2014 10:37:58 +0100
> Saúl Ibarra Corretgé <saghul-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> wrote:
>>
>> accept4 allows us to do this with a single syscall, and it made it into
>> FreeBSD 10, so that's another system that could benefit from this
>> optimization.
>
> If it doesn't, then perhaps the configure script needs to be fixed.
>

I checked and the condigure script seems to do the right thing, so 
FreeBSD 10 should just use accpet4 without nay change.

-- 
Saúl Ibarra Corretgé
bettercallsaghul.com


More information about the Python-ideas mailing list