Messages in this thread | | | Date | Wed, 30 May 2007 14:31:35 -0700 (PDT) | From | Davide Libenzi <> | Subject | Re: 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/
| |