lkml.org 
[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 13/18] flag parameters: NONBLOCK in socket and socketpair
From
From: Ulrich Drepper <drepper@redhat.com>
Date: Sun, 4 May 2008 23:42:46 -0400

> This patch introduces support for the SOCK_NONBLOCK flag in socket,
> socketpair, and paccept. To do this the internal function sock_attach_fd
> gets an additional parameter which it uses to set the appropriate flag for
> the file descriptor.
>
> Given that in modern, scalable programs almost all socket connections are
> non-blocking and the minimal additional cost for the new functionality
> I see no reason not to add this code.
...
> Signed-off-by: Ulrich Drepper <drepper@redhat.com>

Acked-by: David S. Miller <davem@davemloft.net>


\
 
 \ /
  Last update: 2008-05-05 10:19    [W:0.024 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site