[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
On Nov 30, 11:39pm, plunky%rya-online.net@localhost (Iain Hibbert) wrote:
-- Subject: Re: CVS commit: src/sys
| On Fri, 30 Nov 2012, Christos Zoulas wrote:
| > In article <20121130134954.GA14008%britannica.bec.de@localhost>,
| > Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
| > >On Fri, Nov 30, 2012 at 08:34:27AM -0500, Christos Zoulas wrote:
| > >> | fd_set doesn't seem like an appropriate structure for this.
| > >>
| > >> I've been thinking about creating something more efficient, but I didn't
| > >> up with something better and decided that using fd_set was less complex.
| > >
| > >A plain bitmap is ok for this purpose. Something like:
| > >
| > >static uintptr_t inet4_reserve[65536 / sizeof(uintptr_t) / CHAR_BITS];
| > Sure, but then I would have to rewrite or open code the access macros.
| > I think that it would be a lot nicer to have a more general "fdset" that
| > could be included multiple times, and provided the access macros.
| well, there is bitstring(3) ..?
I'll convert to that. Or cook a set of macros.
Main Index |
Thread Index |