lkml.org 
[lkml]   [2007]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Syslets, Threadlets, generic AIO support, v6
On Wed, 30 May 2007, Eric Dumazet wrote:

> > So library routines *must not* open file descriptors in the normal space.
> >
> > (The same is true of real applications doing the equivalent of
> >
> > for (i = 0; i < NR_OPEN; i++)
> > close(i);
>
> Quite buggy IMHO

Looking at it now, I'd agree (although I think I have that somewhere in my
old code too). Consider though, that such code is contained also in
reference books like Richard Stevens "UNIX Network Programming".



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-30 23:35    [W:0.112 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site