Re: MemPool.c's

From: Guido Serassio <>
Date: Tue, 16 Apr 2002 21:51:14 +0200


Il 21.25 16/04/2002 Henrik Nordstrom ha scritto:
>You might want to look at the native NT port. It already has the separation
>of socket and file handles.

Sorry, but I just removed this from the nt source code ....
The old implementation was buggy and instable, and now I use a single FD
pools like Unix.
For Your problem, You can see this file from Logisense, it contains a
stable implementation of Socket and Files descriptors separation.



>And why C++? Squid is written in C for C compilers, and you are quite likely
>to run into quite many problems if compiling it as C++ due to differences in
>type casting, promoting etc. The variable names and types colliding with C++
>reserved keywords are only a minor problem and can easily be solved with a
>Evgeny Kotsuba wrote:
> > Hi,
> >
> > >Noting harmful, the one in src is not being used, now deleted. Why
> > >all these power symbols?
> >
> > I am not using unix-style project, as well as not use unix-like env
> > Moreover, I port squid to C++ and OS/2 environment. The main difference
> > is that the file handle and socket handles are different entities.
> > The next thing is all squid's variables as "new", "class" etc.
> >
> > SY,
> > EK

Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Received on Tue Apr 16 2002 - 13:51:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:11 MST